We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Add Header and Footer to the document


Is there any way in which i can add header and footer to all the pages in the document. I am using mail merge functionlaity too in my template. It seems like headers are not supported on pages that have mail merge feature. Can you suggest a way to overcome this? 

Also i have seen that headers can be added easily to PDFs. However, there is no documentation for adding it to the document. 

Thank you,

1 Reply

PR Poorani Rajendran Syncfusion Team December 11, 2019 07:36 AM UTC

Hi Mitali,

Thank you for contacting Syncfusion support.

Is there any way in which I can add header and footer:
We have prepared sample application for adding header and footer to all the pages in the Word document and performed mail merge functionality in a Word document. The sample application can be downloaded from the below link:

Note: Please find the input Word document in “Data” folder of above sample application.

If we misunderstood of your requirement, Kindly please provide us the input Word template and modified code snippet of above sample application, thereby we will analyze the feasibility further on the mentioned requirement and update you with the appropriate solution at the earliest

Note: If you have any confidential data in your Word document, please replace with some dummy data and provide us the same. We just need your document to achieve your end requirements

Regarding there is no documentation for adding it to the document:
Please refer the below documentation link to add headers in PDF document,

UG: https://help.syncfusion.com/file-formats/pdf/working-with-headers-and-footers

Add header in new PDF document: https://www.syncfusion.com/kb/9115/how-to-add-headers-and-footers-to-a-pdf-file
Add header in an existing PDF document: https://www.syncfusion.com/kb/3670/how-to-add-header-and-footer-in-an-existing-pdf-documentpdfloadeddocument

Please let us know if you have any other questions.

Poorani Rajendran

Live Chat Icon For mobile
Up arrow icon