This example shows the PDF Document Creation API that is used to programmatically generate a document layout.
- The custom
DrawGraphicsmethod draws content inside an empty PDF document. - The custom
AddWatermarkmethod generates a watermark with custom text and adds it to the created PDF document.
When you launch the app, the file is saved to your Documents folder (%userprofile%/Documents).
The Result.pdf file is an example of a generated PDF document:
The Universal Subscription or Office File API Subscription is required to use this example in production code. Please refer to the DevExpress Subscriptions page for pricing information.
- Program.cs (VB: Program.vb)
- Result.pdf
(you will be redirected to DevExpress.com to submit your response)
