This example illustrates how to use PDF Document API to delete pages from PDF files.
In this example, the PdfDocumentProcessor.DeletePage method is called 55 times to delete each odd-numbered page in the TextDelete document (contains 109 pages) starting from the last odd-numbered page.
The result is saved to the Deleted document, which contains only even pages, by the PdfDocumentProcessor.SaveDocument method call.
Note
The Universal Subscription or an additional Document Server Subscription is required to use this example in production code. Please refer to the DevExpress Subscription page for pricing information.
- Program.cs (VB: Program.vb)
Organize Pages in PDF Documents
(you will be redirected to DevExpress.com to submit your response)