Bhojraj, Santosh wrote:
> Hi:
>   I am using iText 2.1.3 for generating PDF documents. I am adding data 
> to a cell in the table and the data comes from a "description" type 
> column in the database (i.e. it is free form text). When this displayed 
> on the PDF, I need to put some spacing between the lines of text. I 
> couldn't find any examples or direct API to do this.
>    I am adding the data to the table by creating a "Phrase" object and 
> specifying the Font, alignment, borders, Color etc. on it. Any help with 
> this would be greatly appreciated.

I'm not sure if I understand the question, but are you looking for the 
basic concept called "leading" (search for setLeading() methods).
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to