views:

68

answers:

1

I am building a table that spans multiple pages of my PDF. I would like the column header of the table to appear as the first row on each page. Is there some way that I can detect when the page is breaking and insert the column headers rather than the next data row?

+2  A: 

Check the iTextSharp tutorial on SourceForge, chapter 5, section "Large Tables," example 10.

You basically call EndHeaders() on your Table.

Jay Riggs
Thank you, I am not sure how I missed that in the docs. I guess I fail at RTFM :)
TheHurt
Easy to miss considering the state of the documentation!
Jay Riggs