Just a clarification I am interested in truncation characters with respect to the PdfPCell width. i.e if I need to display "this is the content" and the cell width can fit the words "this is the" then I dont want to see the "content" in the next line or anyway else. I just need "content" to be truncated. Will setFixedHeight work for width. Please let me know.
 
Thanks
 


Paulo Soares <[EMAIL PROTECTED]> wrote:
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
> > 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


Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

Reply via email to