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.Pdf (in Select.Pdf.dll) Version: 24.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