PDF .NET Library Logo
Home Products Code Library Online Demos Support Forum Buy About Us  
Code Library

Merging two PDF files

The following code merges two PDF files and creates a new PDF.

c# sample:

PDFDocument doc = new PDFDocument("merge.pdf");

doc.Pages.Delete(doc.CurrentPage);

doc.LoadPdf("sample.pdf","");

doc.LoadPdf("document.pdf");

doc.Save();

Back to PDF Code Library