In PdfPTable after you set setTotalWidth() the row height is available in
getTotalHeight() and getRowHeight().

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Marc Lustig [SMTP:[EMAIL PROTECTED]
> Sent: Friday, August 08, 2003 16:33
> To:   iText list
> Subject:      [iText-questions] how to calculate vertical space of a
> PdfPCell
> 
> Hi, 
> 
> I have a list of items that spread over numerous pages. 
> The items are sequentially put on the page in two columns of a
> PdfPTable.
> (For every page a single PdfPTable.)
> 
> What I need now is to calculate when the bottom of the page (column) is
> reached in order to trigger a column-change or newPage respectively.
> 
> Therefore I need to know the vertical space that a certain PdfPCell
> takes.
> 
> Can someone please advise me how to calculate this vertical space.
> 
> Thank you!
> Marc
> 
> 
> ------------------------------------------------
> Marc Lustig, Diplom-Politologe
> Software Developer
> 
> Office: +49-30/3987 6037
> Fax: +49-30/3987 6054
> Mobil: +49-163/379 8237
> Privat: +49-30/6162 9667
> eMail: [EMAIL PROTECTED]
> Freelancer-Profil: http://www.marclustig.com
> ------------------------------------------------
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0
> 1
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to