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:

    1. MergeDocument document = new MergeDocument();
    2. PdfDocument sourcePDF = new PdfDocument( “C:\\ImportPDF.pdf” );
    3. 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.