Return to Spire. How to create Named Destination? Sun Mar 18, pm Hello, can you please tell me, how can I create a named destination inside my generated pdf? I need to be able to open the pdf at a specific named destination from URL or command line, e. I didn't find any related information or class, so I tried it by creating PdfBookmark and PdfNamedAction, bookmark works but no luck with opening the document at the destination. Thanks Robert.
|Country:||Republic of Macedonia|
|Published (Last):||19 February 2018|
|PDF File Size:||19.45 Mb|
|ePub File Size:||19.19 Mb|
|Price:||Free* [*Free Regsitration Required]|
Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. My codes are:. My reference on the third parameter 'bottom' is from here. But did I used it the right way? I don't understand clearly.
Please check also PDFlib 9. Learn more. Asked 3 years, 2 months ago. Active 3 years, 2 months ago. Viewed times. Or even better, do you know something I should use to do this adding nameddest?? Active Oldest Votes. Rainer Rainer 1, 1 1 gold badge 7 7 silver badges 4 4 bronze badges. Sign up or log in Sign up using Google.
Choose your Destination
Acrobat 8 Professional includes the Destination feature, used to name a linking or bookmarking location. Destinations take a bit of time to set up, but save time in the long run in certain scenarios, such as the following:. You set up a complex document, linking content from a number of files and locations together. Time passes, and you have to change the contents and pagination of some of your composite files. Alas, your perfectly linked document no longer points to the right locations, and you have to laboriously test and re-link.
By adding a named destination, you can open the PDF with the desired location and magnification. The following link example shows how to open a PDF document with named destination in a web page. You can add, remove and modify the named destination using PdfNamedDestination class. The following code example shows how to add named destination in an existing PDF document using the PdfNamedDestination class.
Working with Named Destination
Creating PDF bookmarks is relatively easy—just go to the page you'd like to bookmark, select text and press Ctrl-B Command-B under Mac and the new bookmark will appear in the Bookmark Tab. Destinations window is hidden by default. To display it, check Navigation Panels - Destinations from Adobe Acrobat View menu, or just right click on the Navigation Panel as shown in the picture below. To create a named destination, go to the page you'd like to put the reference in. Then, click on the "New Destination" icon. The new destination will appear in the list with the default label of "Untitled".
Creating PDF Named Destinations