Files to look at:
- Program.cs (VB: Program.vb)
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.
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.
(you will be redirected to DevExpress.com to submit your response)