try this.

 p.setLeading(0.0f,1.1f);

 if you increase second parameter your line spacing will change with in
paragraph
                  



Henry-16 wrote:
> 
> Is there a way to change the line spacing in Paragraph or Chunk?
> I've try do this...
> 
>     p = new Paragraph(chunk);
>     p.setSpacingBefore(4f);
>     p.setSpacingAfter(1f);
>     p.setExtraParagraphSpace(50f);
>     p.setIndentationLeft(25f);
> 
> but this only change the spacing between paragraph not the line spacing 
> within paragraph.
> 
> Thanks in advance
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Is-there-a-way-to-change-the-line-spacing-in-Paragraph-or-Chunk--tp4314416p20971595.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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