 |
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.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfBookmark AddBookmark(
string text,
PdfDestination destination,
PdfBookmark parent
)
Public Function AddBookmark (
text As String,
destination As PdfDestination,
parent As PdfBookmark
) As PdfBookmark
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
PdfBookmarkThe newly created child
PdfBookmark.
See Also