Back to Blog
Developer Blog
How to create a new document to add a single page on Foxit Merger for .NET SDK?
Foxit SDK .NET
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.