Adding a header/footer from HTML file while converting HTML to PDF is possible by using WebKit HTML converter.
Our WebKit HTML converter do not have direct support for adding header/footer from HTML file. As a workaround, we can convert each HTML data to PDF (Header, body (actual HTML), footer) separately and then draw it in the new PDF document as it looks like header and footer added. Please refer below steps and screen shot,
Note: This requires three level of HTML to PDF conversion.
All the above mentioned assemblies can be get by installing the WebKit installer available in the below link.
Working sample can be downloaded from the below link.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|