Adam Mork wrote: > I need to be able to add precise amounts of white space to a phrase. Is > there a way to make a chunk with a specific amount of whitespace, the > amount would be the width of the whitespace. ?
I'd use a space character, calculate its width, then use setHorizontalScaling() to scale the width to the desired amount. Depending on what you want to do, it might be interesting to use TAB Chunks instead. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
