Click or drag to resize
Pdf Library for .NET

PdfDocumentAddBookmark Method (String, PdfDestination, PdfBookmark)

Creates a child bookmark in the current pdf document under the specified parent bookmark.

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

Parameters

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

Return Value

Type: PdfBookmark
The newly added bookmark.
See Also