On 5/08/2013 22:50, Josh Smith wrote: > I am working on a process for my company to create a "digitized > signature". Essentially we are going to capture the pen strokes of a > signature via a javascript library and then I need to be able to place > those into an existing PDF. > > Because of the nature of the PDF (it has tables that have repeating > content) I can't always know the exact absolute position of where the > signature image should get dumped. The hope was to be able to take a > text field and replace/fill it with the image. > > That way I can lookup the text field by name, and use that to figure > out where the image should go. > > But I can't find any good references on how to do this. Can someone > point me to the right place?
Did you look at the ReplaceIcon example? http://itextpdf.com/examples/iia.php?id=156 It takes a button field (not a text field) and replaces the icon on that button. This way, an Image XObject or a Form XObject can be added on a predefined place. ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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