william wrote: > Hi, > > I am new to iText. I am trying to create acroform (TextField) on an > existing pdf, but most of the examples I can find is using new pdf. > 1. where should i start? Should I use PDFStamper?
Yes. A field is an annotation, and PdfStamper has a method addAnnotation that allows you to add a field as is done here: http://1t3xt.info/examples/browse/?page=example&id=279 > 2. Is there anyway to locate the coordinate where I should put my > acroform? i.e by replacing a box / image or something that i can use to > replace it with an acroform textfield. No, that's simply not possible. You need to know the coordinates in advance. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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
