Use PdfPCell.setFixedHeight(xx). xx must be at least the top padding +
bottom padding + font size.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: S Cool [SMTP:[EMAIL PROTECTED]
> Sent: Monday, October 27, 2003 18:12
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] How to trruncate the PDFPCell text
> 
> Guys,
>  
> I have a requirement where my PdfPCell should not try to display text more
> that what the column width, i.e just one line of text the maximun text the
> column can hold. I have setNoWrap to true thereby stopping it from
> wrapping. But the PdfPCell writes beyond its width and jams the next
> cell's text. Any suggestion or ideas is really appreciated.
>  
> Thanks
> anand.
> 
>   _____  
> 
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> <http://launch.yahoo.com/video/?1093432&fs=1&redirectURL=http://launch.yah
> oo.com/promos/britneyspears/>


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to