itextsharp Modifying Table Header Row on Page break
I am using itextsharp pdfptables in columns. I have a table that is very long and goes ac开发者_JS百科ross multiple pages. The header, "XYZ", repeats as it should but I want the header to be "XYZ - Continued" on subsequent pages. I have tried looking for an event in the table but no luck!
I am working in VB.net but samples in C# work too.
Any help is appreciated!
I recommend taking a look at PdfPTableEvent
.
There's also a document level page event, though it's not as helpful in this case.
I think you'll need a partially blank header, and then have to fill in the variable parts during your PdfPTableEvent
callbacks.
Yes, this documents the Java version of iText. However, all the methods are identical, or very nearly so. Your IDE should help you iron out any differences.
精彩评论