How do I merge existing pages from a PDF in to a new pdf being created by Pdf.Generator?
Thanks for your interest in our products.
You can save the PDF document being generated into some Stream Object and try using the code snippet specified over following link to for information on how to Insert Array Of PDF Pages Using File Paths (Facades)
In case you have any further query, please feel free to contact.
Let me share some details regarding namespaces being offered in Aspose.Pdf for .NET
Aspose.Pdf namespace offers the Document class which can be used to create PDF documents from scratch as well as you can use the same class to edit/manipulate existing PDF documents.
Aspose.Pdf.Generator name space only provides the capability to create PDF documents from scratch. You can use its API, convert an Image file to PDF, convert a simple Text file, transform an XML/XSL-FO file or even you can render the HTML file into PDF format using classes in this namespace. I am afraid it does not provide the feature to open an existing PDF document.
Aspose.Pdf.Facades namespace provides the capabilities to manipulate/edit existing PDF documents. It provides the capability to render the pages of PDF file into Image format, concatenate PDF files, Insert pages into existing PDF file, add watermark stamps in existing PDF files, delete pages from PDF and much more.
As per your requirement, the viable approach would be to first create PDF documents using Aspose.Pdf or Aspose.Pdf.Generator namespace and then you can merge the resultant files into single PDF by using Aspose.Pdf or Aspose.Pdf.Facades namespace. Please do let me know if I can be of any further assistance.