Hi all,
In order to stop adding rows (actually Cells) to a table, I want to
retrieve the height of the PdfPTable. But although there are quite a few
methods, none of them seems to work properly.
PdfPTable table = new PdfPTable(5);
table.setHorizontalAlignment(PdfPTable.ALIGN_LEFT);
It looks like you're running into one of several possible problems:
1) You're not actually drawing anything.
Try a different G2D to test your output. You may already know the table writes
successfully to your UI or whatever.
2) You're not drawing anything visible.
White one white, that
Sorry Clair W. Cabal about overlapping a previous thread. I just did a quick
reply from my inbox.
Mark Storer, Thanks for the reply.
1) Try a
different G2D
I didn't understand from this. How do i create a different one?
2) The table perfectly prints. So its not a white one. (Hope u looked at
Chandrajeet:
I am not sure there is any link between your post and the original query
below by Clair Cabal. Chandrajeet please create a new thread and copy over
the related material (your original post and Leonard's reply) if you want to
continue this discussion.
By creating your own thread