Dear Paulo,
I try to use Right-to-left run direction. But, the
RUN_DIRECTION_RTL inside my code can not create any
difference to RUN_DIRECTION_LTR. Please advice.
yun
Here is my code:
PdfReader reader = new PdfReader("old.pdf");
PdfStamper stamp = new PdfStamper(reader, new
FileOutputStream("new.pdf"));
PdfContentByte cb = stamp.getOverContent(1);
String tmpStr = "TEST 12345 67890";
Phrase phrase = new Phrase(tmpStr);
ColumnText ct = new ColumnText(cb);
ct.setSimpleColumn(phrase, 0, 700, 100, 600, 12,
Element.ALIGN_LEFT);
ct.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);
ct.go();
stamp.close();
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions