 |
PdfDocumentAddBookmark(String, PdfDestination) Method |
Adds a new bookmark to the document outline. Shorthand for
doc.Bookmarks.Add(text, destination).
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfBookmark AddBookmark(
string text,
PdfDestination destination
)
Public Function AddBookmark (
text As String,
destination As PdfDestination
) 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.
Return Value
PdfBookmarkThe newly created
PdfBookmark.
See Also