Hi All, I have a requirement to wrap text with in a rectangle. I'm using the simple column text for doing the same. ColumnText columnText = new ColumnText(pdfTemplate); columnText.setSimpleColumn(x, y, x+boxWidth, y+boxHeight, columnText.getLeading(), Element.ALIGN_LEFT); columnText.setText(new Phrase(text, f)); columnText.go();
The below shown diagram is the result of the above code. [cid:image001.png@01CB0E27.8E82EED0] Actually my requirement is that I need to get rid of the gap between 2 lines. Please guide me through this. Regards, Karthika
<<inline: image001.png>>
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ 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/