Hi
When I used following code to add myText to the PDF , it works properly with
Justified allignement
Paragraph para = new Paragraph(myText,Font) ;
para.setAlignment(Element.ALIGN_JUSTIFIED);
Document.add(para);
But when I add line para.setKeepTogether(true) (code is below) ,then the
myText is keep together in the PDF but it does not get Aligned (i.e in this
case setAlignment is not working).
Paragraph para = new Paragraph(myText,Font) ;
para.setKeepTogether(true);
para.setAlignment(Element.ALIGN_JUSTIFIED);
Document.add(para);
Please suggest me what I am doing wrong..
Thx and regards
Manohar
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions