Hi Bruno,

Thank you so much for you prompt reply!
Yes, setLeading works perfectly well.

Cheers,
Annie


-----Original Message-----
From: Bruno [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 2:40 AM
To: Annie Yang
Cc: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: Re: Line spacing within one paragraph


Quoting Annie Yang <[EMAIL PROTECTED]>:

> 
> Hi,
> 
> In the PDF file I created by using iText, the line spacing in a paragraph
> looks like 'double spacing' no matter what type of font used.
> 
> Is there a way to adjust the line spacing within a paragraph?

Look for methods called setLeading.
http://www.lowagie.com/iText/tutorial/ch02.html#phrase
br,
Bruno



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to