Click or drag to resize

Document.AddBookmark Method (String, ExplicitDestination, Bookmark)

Creates a child bookmark for the existing parentBookmark

Namespace:  ExpertPdf.HtmlToPdf.PdfDocument
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public Bookmark AddBookmark(
	string text,
	ExplicitDestination destination,
	Bookmark parentBookmark
)

Parameters

text
Type: System.String
The text of the child bookmark
destination
Type: ExpertPdf.HtmlToPdf.PdfDocument.ExplicitDestination
The destination of the child bookmark
parentBookmark
Type: ExpertPdf.HtmlToPdf.PdfDocument.Bookmark
The parent bookmark

Return Value

Type: Bookmark
The newly added bookmark.
See Also