Hi all,

I am still having trouble with the leading, now using a paragraph.
I have tried various methods, but none have worked.
The result that I need is:

line 1
line 2

with a certain leading between those 2 lines.

This is my code:
Paragraph p = new Paragraph((float)(font.size()*2));
p.add(new Phrase("line 1\n",font));
p.add(new Phrase("line 2\n",font));
PdfPCell adresse = new PdfPCell(p);

Whatever I pass in the constructor to Paragraph, the leading is always
the same. Please help with this easy challenge...

Thanks in advance!
Marc



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to