We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Add header/footer while concatenating PDF files


New to this PDF control. I would like to be able to add headers/footers to the resultant pdf when providing an array of pdfs to the PdfFileEditor Concatenate routine. Is this at all possible? or the only real way to do this is to Concatenate, then open resultant file, and add what i need?


Hi Thierry,

Thanks for contacting support.

Yes you are correct. First you need to perform the PDF concatenation operation and once the resultant file is generated, you may then add Header/Footer to resultant PDF file (because you might have a requirement to display page count in Footer of PDF file, so unless the PDF files are concatenated, you might not have clear idea about the total number of pages going to be in resultant file).

Furthermore, besides using Aspose.Pdf.Facades.PdfFileEditor, you may also try using new Document Object Model (DOM) of Aspose.Pdf namespace. For further information, please visit