Click or drag to resize
DocumentAddBookmark Method (String, ExplicitDestination, Bookmark)
Creates a child bookmark for the existing parentBookmark

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

Parameters

text
Type: SystemString
The text of the child bookmark
destination
Type: ExpertPdf.HtmlToPdf.PdfDocumentExplicitDestination
The destination of the child bookmark
parentBookmark
Type: ExpertPdf.HtmlToPdf.PdfDocumentBookmark
The parent bookmark

Return Value

Type: Bookmark
The newly added bookmark.
See Also