Kid_79 wrote:
> Hi all,
> I'm new with iText library and I need to information about how iText works.
> 
> I have a my pdf template and with AcroFields I set any value of textField.
> Now, I want to add in my pdf template a new textField that it's not exist in
> my template! It's possible?
> 
> Can you help me?

Only if your form is an AcroForm. In that case, you create a TextField 
object, and you you use PdfStamper.addAnnotation() to add it to an 
existing document.

Example showing how to create a TextField:
http://itextpdf.com/examples/index.php?page=example&id=157
Example showing how to add a field with PdfStamper:
http://itextpdf.com/examples/index.php?page=example&id=168

If your form is a dynamic XFA form, you'll need Adobe LC Designer.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to