This example shows how to extract a page from one PDF document and insert it to another PDF.
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.
To accomplish this task:
- Create two PdfDocumentProcessor instances.
- Call the PdfDocumentProcessor.LoadDocument method to load a source document to the first instance and the target document to the second instance.
- Use the PdfDocument.Pages property to retrieve the page in the source document. To obtain the document, use the PdfDocumentProcessor.Document property.
- Insert the extracted page to the page collection of the target document by the Insert method call.
- Save the resulting document by the PdfDocumentProcessor.SaveDocument method call.
- Program.cs (VB: Program.vb)
(you will be redirected to DevExpress.com to submit your response)