On 03/22/12 14:49, Zhang.Xun-An wrote:
> Actually, I updated:
>       http://itextpdf.com/examples/iia.php?id=157
> by changing the 
>       form.setField("text_1", " MMMMMMMM "); 
>       form.setField("text_2", " MMMMMMMM "); 
>       ...
> with 
>       form.setField(key,"MMMMMMMM");
> 
> The 'key' are gotten from the example, http://1t3xt.be/?107
> 
> The pdf file in above example can be any pdf file, not just created in Java.
> 
> Thanks,
> 
[snip[
There is also the earlier chapter 6 example:

  http://www.itextpdf.com/examples/iia.php?id=122

which also uses AcroFields.setField to change a field's value.


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to