use setLeading().
-Matt
--- Subbiah <[EMAIL PROTECTED]> wrote:
> Hi,
> I am trying to reduce the space between 2 lines
> during conversion of
> text file into a pdf file. Kindly look at the
> attached pdf. Thank you
> for your help.
>
> I am using this:
>
> String line;
> while((line =3D in.readLine()) !=3D
> null) {
> Paragraph para =3D new
>
>
Paragraph(line,FontFactory.getFont(FontFactory.COURIER,
> 10,
> Font.NORMAL));
> document.add(para);
> }
>
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions