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

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

Repository from Github https://github.comDevExpress-Examples/pdf-document-api-add-link-to-pageRepository from Github https://github.comDevExpress-Examples/pdf-document-api-add-link-to-page

Files to look at:

PDF Document API - Add a Link to a Page

This example shows the PDF Document Creation API that is used to programmatically add a link to a page.

The Universal Subscription or an additional Office File API Subscription is required to use this example in production code. Please refer to the DevExpress Subscription page for pricing information.

Description

To add a link to a page using the PDF Creation API:
-  Create an empty document with no pages by calling one of the PdfDocumentProcessor.CreateEmptyDocument overload methods).
- Create PDF graphics represented by an instance of the PdfGraphics class calling the PdfDocumentProcessor.CreateGraphics method. To access PdfGraphics you need to reference the DevExpress.Pdf.Drawing assembly.
- Add a link to the PDF page using the PdfGraphics.AddLinkToPage method.
- Render a page with created graphics by calling the PdfDocumentProcessor.RenderNewPage method.


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.

License:Other


Languages

Language:C# 50.0%Language:Visual Basic .NET 50.0%