How can I repeat the headers of an iTextSharp PdfPTable on each page?
-
20-09-2019 - |
Question
How can I get iTextSharp to repeat the headers of a PdfPTable on each page of the generated PDF?
Solution
You just need to set the PdfPTable.HeaderRows
property to the number of rows in your PdfPTable
's header like this:
table.HeaderRows = 1;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow