Skip to content

Add a link to a document page at the specified link area.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/pdf-document-api-add-link-to-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Document API - Add a Link to a Page

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.

Implementation Details

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.

Files to Review

C# Visual Basic
Program.cs Program.vb

Documentation

More Examples

Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

About

Add a link to a document page at the specified link area.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 5