|Published (Last):||13 March 2009|
|PDF File Size:||9.49 Mb|
|ePub File Size:||11.63 Mb|
|Price:||Free* [*Free Regsitration Required]|
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. The following code snippet illustrates the same. The following code example shows how to add named destination to the Bookmarks in the PDF document.
Take a look at our next generation Bold Reporting Tools. Learn more. File Formats. Support Forum Download '. There is no way to escape these special characters. The following code example shows how to add named destination in a new PDF document. DrawString "Hello World!! Helvetica , 10 , PdfBrushes. Save "Output. Close true ;. Add 'Create an instance for named destination.
Add destination 'Draw the text. Black , New PointF 0 , 'Save the document. Close True. Save stream ; stream. WinPhone Device. Pages 0 'Create an instance for named destination. Add destination 'Save the document loadedDocument. Add ". Open , FileAccess. GetManifestResourceStream "Sample. NamedDestinationCollection 'Remove the named destination by title destinationCollection.
Save "Sample. Add "TOC" 'Assign the named destination to the bookmark bookmark. Save "sample. Was this page helpful? Yes No.
Thank you for your feedback and comments. We will rectify this as soon as possible! Help us improve this page Correct inaccurate or outdated content Please provide additional information.
Working with Named Destination
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.
Creating PDF Named Destinations
Subscribe to RSS
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.