How can I get iTextSharp to repeat the headers of a PdfPTable on each page of the generated PDF?
Asked
Active
Viewed 2.7k times
1 Answers
36
You just need to set the PdfPTable.HeaderRows
property to the number of rows in your PdfPTable
's header like this:
table.HeaderRows = 1;

Leniel Maccaferri
- 100,159
- 46
- 371
- 480

Jay Riggs
- 53,046
- 9
- 139
- 151
-
4sample: `table.HeaderRows = 1;` This repeats the 1st row for all pages as a header for that PdfTable – Saravanan Mar 01 '12 at 05:35