Add PDF Bookmarks with Named Destinations

Possible Usage Scenarios

Named Destinations are special kinds of bookmarks or links in PDF that do not depend on PDF pages. This means that if pages are added or deleted from a PDF, bookmarks may become invalid, but named destinations will remain intact. To create a Named Destination, please set the PdfBookmarkEntry.DestinationName property.

Add PDF Bookmarks with Named Destinations

Please see the following sample code, the source Excel file, and the output PDF file. The screenshot shows the bookmarks and named destinations inside the output PDF. The screenshot also describes how to view Named Destinations and that you need the Professional version of Acrobat Reader.

todo:image_alt_text

Sample Code