Not sure the best way to do what i want to do but, my goal is to create a free text annotation where the rectangle is sized to fit the text. I have an object with contains two lines.. i'd like to create a rectangle to contain those two lines without wrapping/or cropping = fit the rectangle to the text (not the other way around).
What I would REALLY like to do is to create a stamp annotation that consists of two lines of text. I would specify the font to use for that text. The result would be an annotation sized properly for the two lines of text using the font specified. Any suggestions and/or samples of different ways to pull this off ? Thanks in advance -- View this message in context: http://www.nabble.com/Can-you-create-rectangle-to-fit-text---tp19858327p19858327.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php