How to create a new document to add a single page on Foxit Merger for .NET SDK?
To create new documents, merge or add pages to a document, follow the steps outlined below:
- MergeDocument document = new MergeDocument();
- PdfDocument sourcePDF = new PdfDocument( “C:\\ImportPDF.pdf” );
- document.Append(sourcePDF, 1, 1);
Note: This can be used to split up a PDF document. You must create an additional document to append additional pages.
Updated on April 4, 2017