How can I help you?
PdfNamedDestination
6 Feb 20261 minute to read
Represents a named destination in a PDF document.
// Load an existing PDF document
let document: PdfDocument = new PdfDocument(data, password);
// Get the bookmarks
let bookmarks: PdfBookmarkBase = document.bookmarks;
// Gets the bookmark at the specified index
let bookmark: PdfBookmark = bookmarks.at(0) as PdfBookmark;
// Gets the named destination
let namedDestination: PdfNamedDestination = bookmark.namedDestination;
// Destroy the document
document.destroy();Properties
Get destination PdfDestination
Gets the destination.
Set destination void
Sets the destination.
| Parameter | Type | Description |
|---|---|---|
| value | PdfDestination |
Destination. |
Get title string
Gets the title.
Set title void
Sets the title.
| Parameter | Type | Description |
|---|---|---|
| value | string |
Title. |