Click here to Skip to main content
15,071,928 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

I am using iTextSharp version for convert HTML to PDF. Its working fine with styles. But in my project i want auto Page header and footer for every page by using HTML tag. In the earlier version of iTextSharp 4.0.0, there was property called "HeaderRows" and "FooterRows" to define the header and footer. If i pass the header and footer content to "<"thead">" and "<"tfoot">" tag i will affect each page. Please give me a suggestion, how can i get my output. I have used ONSTARTPAGE and ONENDPAGE also, but its not accepting the HTML Tags.
Please assist me, and thanks in advance.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900