Hi,
I would like to know if the setLeading(...) method works when creating a RTF
document.
I tried to write a text in a cell in a table and I want to minimize the space
between 2 lignes but there is no effect on the result (seems to be the default
leading, 1.5 times the size font).
I have this code to do it :
Phrase phDescriptionTexte = new Phrase("text",
FontFactory.getFont(FontFactory.HELVETICA, 9, Font.NORMAL, Color.BLACK));
phDescriptionTexte.setLeading(7.0f);
cell.add(phDescriptionTexte);
I also try to set the leading when creating the Phrase object but it also
failed.
I use itext 1.4.
Is there a way to obtain what I want ? Thank you for any issue.
Regards,
Mékafi.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/