PDF .NET Library  .NET PDF Component Library. PDF creator, PDF maker.
Home Products Code Library Online Demos Support 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