This example shows the PDF Document Facade that adds a link to a destination that displays the third page with the Zoom to Page Level view.
Important
The Universal Subscription or an additional Office File API Subscription is required to use this example in production code. For pricing information, please refer to the DevExpress Subscription page.
The PdfPageFacade object allows you to perform various operations on a PDF page without access to its inner structure. Call the CreateFitDestination to create a destination. This destination fits the entire page to the document window both horizontally and vertically (Zoom to Page Level view) when referencing to this page.
Use the link annotation to create a link to the destination at the required location. Call the PdfPageFacade.AddLinkAnnotation method and pass the destination object and the page area as method parameters.
| C# | Visual Basic |
|---|---|
| Program.cs | Program.vb |
(you will be redirected to DevExpress.com to submit your response)