I need to fill a rectangle with a paragraph of text with the max size
possible. If there is more text, the font shrinks, less text, bigger font
(with a max/min size of course). I've been looking all over and can't find
any code.

Right now I'm using column text and adding a paragraph. I've tried
BaseFont.GetWidth but it's the same no matter the fontSize.

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Font-size-fixed-rectangle-tp3820833p3820833.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to