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();