How to crop overflowing text inside a PdfPCell ("Fixed Height" already tried)

View: New views
1 Messages — Rating Filter:   Alert me  

How to crop overflowing text inside a PdfPCell ("Fixed Height" already tried)

by notoriousxl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I've succesfully represented a text label as a PdfPcell (see http://www.nabble.com/How-to-insert-Text-in-a-given-position-with-the-given-font-td25434266.html ). PdfPCell.FixedHeight and PdfPTable.TotalWidth are set. :)

Now, I've got a 24x250 cell (with Rotation = 90). If I insert a big text (for example, a text with Font.Size = 40), the text overflows the cell's borders.

How can I truncate it?