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

Free Support Forum - aspose.com

Adding Header & Footer in Existing PDF Document


I need to add Image and some table in Header of the existing PDF document. Currently i am doing it using PdfFileStamp class, but issue is header is display on content of the document. So while i am adding header in pdf document need to scroll down content of pdf as per header with. Please suggest how can I achieve this functionality.

Thanks & Regards,

Jignesh Chauhan

Hi Jignesh,

Thanks for contacting support.

Can you please share the resource files and the code snippet which you are using so that we can test the scenario at our end. We are sorry for your inconvenience.

Nayyer Shahbaz,

I am using below code for adding header in existing PDF document. Please find attached PDF file after adding header.

PdfFileStamp fileStamp = new PdfFileStamp(txtFilePath.Text, txtNewFile.Text);
fileStamp.AddHeader(new FileStream(@“D:\logo1.png”, FileMode.Open), 10);

Please suggest.


Jignesh Chuahan

Hi Jignesh,

Thanks for sharing the resource files.

have tested the scenario and I am able to notice the same problem. For the sake
of correction, I have logged this problem as PDFNEWNET-36659 in
our issue tracking system. We will further look into the details of this
problem and will keep you updated on the status of correction. Please be
patient and spare us little time. We are sorry for this inconvenience.<o:p></o:p>

Hi Jignesh,

Thanks for your patience.

development team has been busy resolving other priority issues and I am afraid
the above stated problem is not yet resolved. Also please note that
as we recently have been able to notice this issue, and until
or unless we have investigated and have figured out the actual reasons of this
problem, we might not be able to share any timelines by which this problem will
be resolved.

However, as soon as we have made some significant progress towards the resolution of this issue, we would be more than happy to update you with the status of correction. Please be patient and spare us little time. Your patience and comprehension is greatly appreciated in this regard.