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: June 24, 2019).
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

Platform: ASP.NET Web Forms |
Control: PDF |
Published Date: June 29, 2017 |
Last Revised Date: June 29, 2017

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.


2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
You must log in to leave a comment
Jordan Capa
Apr 23, 2019

thanks for the information! if you're looking for a very useful software, try zetpdf.com! it's easy to use especially when you want to convert something to a pdf file.


Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon