Hello:

I am having problem with PdfPTable. The document I am creating is LetterSize document for PDF. The document contains a header and a footer. There are three tables to be inserted on the document. All three tables are generated dynamically with dynamic rows and columns which depends on the data returned from database. Now one of the tables has rows whose format is as follows:

1) data row
2) line -----


When this table is repeated, onto the continuing page, the line gets printed onto the next page but the data for that line gets printed on the previous page. Is there any way to know how much room is left on the Page before actually adding the table on the document so that table can be added onto the appropriate position. I tried everything and looked at the source, but could not find no pointer to the solution.

Please, can anybody help on this issue?

Regards...

Yogesh

Yogesh Sagar
19, Hogan Street,
Unit 6,
Nepean, Ontario
K2E 5E8

Reply via email to