Click or drag to resize
Pdf Library for .NET

PdfDocumentAddBookmark(String, PdfDestination, PdfBookmark) Method

Adds a new bookmark as a child of the specified parent bookmark. Shorthand for parent.ChildNodes.Add(text, destination).

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

Parameters

text  String
The label shown for the bookmark in the reader's outline pane.
destination  PdfDestination
The location the bookmark jumps to when clicked.
parent  PdfBookmark
The parent bookmark under which the new bookmark is nested.

Return Value

PdfBookmark
The newly created child PdfBookmark.
See Also