Paul Gatewood wrote:
> You will need to read in your existing PDF file (using PdfReader), and 
> use PdfStamper, together with the PdfReader to create a NEW PDF 
> (different file name) with the contents from the existing file plus the 
> new text field.
> 
> As someone already pointed out, the book and tutorials have plenty of 
> information about this.

That's correct. There's an example here:
http://itext.ugent.be/itext-in-action/chapter.php?chapter=15#bonus
It adds a Submit button instead of a TextField, but it's the same
difference ;-) The method the original poster is looking for is
addAnnotation.
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to