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();PdfDestinationGets the destination.
stringGets the title.