How can I repeat the headers of an iTextSharp PdfPTable on each page?
How can I get iTextSharp to repeat the headers of a PdfPTable on each page of the开发者_开发知识库 generated PDF?
You just need to set the PdfPTable.HeaderRows
property to the number of rows in your PdfPTable
's header like this:
table.HeaderRows = 1;
精彩评论