[iText-questions] How to get the real height of PdfPCell or PdfPTable?

2007-07-25 Thread Lars Nagel (Trium)
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);

Re: [iText-questions] Dynamic content in document header

2007-07-25 Thread Mark Storer
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

[iText-questions] JTable to PDF without any pagination

2007-07-25 Thread chandrajeet padhy
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

Re: [iText-questions] Dynamic content in document header Wrong thread

2007-07-25 Thread mister bean
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