There is such a thing as an image field from the users perspective, if you
use Adobe LiveCycle Designer you will clearly see an "Image Field" object in
the library.
The "image field" value exists as a base64 encoded string.
Simply convert your image to base64 string and then use that as the value
Frank Starsinic wrote:
> There is a way to put an image in a AcroForm field.
Both answers are correct.
(1) Frank's example from the FAQ adds an image to the PDF
using coordinates retrieved from the AcroField.
(2) Mark's example changes the appearance from an AcroField
so that the image is used as
There is a way to put an image in a AcroForm field.Here's a method I wrote and use. It takes a PDF input file, a PDF output file, an image file, and a location to put the image.It is basically one of the FAQ entries.. The image grows to fill the size of the field.
public static void createPDFWi
>Is there a way to use iText to set an imagefield in an acro form similar to
>what can be done with textfields?
Kinda. There's no such thing as an "image field" in an AcroForm. That being
said, you can set a button's appearance to "Icon Only", and draw whatever you
like for the 'icon'... in
Is there a way
to use iText to set an imagefield in an acro form similar to what can be done
with textfields (like in this example: http://itextdocs.lowagie.com/examples/com/lowagie/examples/general/copystamp/Register.java)?
Thanks,
Cheryl