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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add different headers and footers in different pages while converting HTML to PDF

Adding different header/footer for each PDF page while converting HTML to PDF is possible by using WebKit HTML converter.

Our WebKit HTML converter do not have direct support for adding different header/footer for each PDF pages. As a workaround, it can be achieved by using PdfTemplate, but it has some limitation such as Hyperlinks, annotations, Pdf form fields and some advanced features will not be preserved in the output document.

Assemblies Required

  1. Syncfusion.Compression.Base.dll
  2. Syncfusion.HtmlConverter.Base.dll
  3. Syncfusion.Pdf.Base.dll
  4. QtBinaries assemblies

All the above mentioned assemblies can be get by installing the WebKit installer available in the below link.

WebKit HTML Converter: https://www.syncfusion.com/downloads/latest-version

Working Sample can be downloaded from the below link.


Article ID: Published Date: Last Revised Date: Platform: Control:
7797 06/29/2017 06/29/2017 ASP.NET Web Forms PDF
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon