PdfNamedDestination
12 Sep 20251 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
destination PdfDestination
Gets the destination.
title string
Gets the title.