Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Need help in showing dynamic text on pdf

Krishna Kishore .J

2005-06-10


Hi All,
 
I am facing a prob in displaying text on pdf using IText API.
 
To display the address I have an address field (form field) on the pdf form.
 
Once i set the address using acroForm.setField() method, the address is displayed in a
single line on the pdf and not in the required manner.
 
       I want the address to be displayed some thing like this:
 
        JOHN JEHOSEPHAT
        C/O FRED DERF
        APARTMENT 2131
        9875 PARK AVENUE
        OTTAWA ON CANADA S4S 53P
 
Can any one kindly suggest me how to display the address as shown above.
 
 
Thanks in advance
Kishore
 
©2008 junlu.com - Jax Systems, LLC, U.S.A.