Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Line Spacing in RTF

Edward Smith

2007-06-26

Replies:

Hello,
I'm trying make a part of my RTF document 1.5 line spacing. I'm currently trying to set the Leading to 1.5f eg
new Paragraph(1.5f, "Text")
 
I've also tried

Paragraph.setLeading(1.5f);

But I don't get any line spacing. I don't see what effect this does at all?
 
Any help most welcome!
 
Thanks!
Edward
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.