Click or drag to resize
Pdf Library for .NET

PdfDocumentAddBookmark Method (String, PdfDestination)

Creates a root bookmark in the current pdf document.

Namespace:  SelectPdf
Assembly:  Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 23.1
Syntax
public PdfBookmark AddBookmark(
	string text,
	PdfDestination destination
)

Parameters

text
Type: SystemString
The bookmark text.
destination
Type: SelectPdfPdfDestination
The bookmark destination.

Return Value

Type: PdfBookmark
The newly added bookmark.
See Also