Copy link to clipboard
Copied
Hi,
I need to create an image box on a document, such that a user can drag and drop an image onto the document. I should be able to accomplish this by adding an image box, however, when opening the Prepare Form feature, I found that I don't have an image box option. I know that I could just modify the Button feature for placing a perminant image on the document, but that doesn't allow user modification. I'm using Acrobat Pro DC 2015 (perpetual license). Is it possible for me to activate or acquire that option? If not, is there another way to accomplish this?
Thanks much
Copy link to clipboard
Copied
Interesting, I don't know when the image field was added to the forms toolbar. But it is easy enough to fix. Add this code to the MouseUP event on a button field. The button layout (on the options tab, on the properties dialog) must be set to "Icon Only", and the appearance should be set to no fill color.
event.target.buttonImportIcon();
Thats all there is to an image field.
Copy link to clipboard
Copied
When you activated "Parpare Form", did you select "Document needs signatures"? If so then you have an Adobe Sign form, which has different field options.
If this is the case, then it is easy to switch back to a regular PDF form from the "More..." menu.
Copy link to clipboard
Copied
Much appreciated!
That did, in fact, give me different field options. Unfortunately, image box was not one of them.
Copy link to clipboard
Copied
As per my view image box option is not available in Acrobat Pro DC 2015, but you can create a button field and add a JavaScript action to allow users to upload images dynamically. Actually I am not using acrobat pro nowadays because of blogging.
Copy link to clipboard
Copied
Been a while since I've written code, but I'll give it a shot and see what happens. Either way, I appreciate your help.
The sad part is that I was very happily using Acrobat 9 for years, until it crashed. Getting Pro DC 2015 was supposed to be an upgrade that Adobe offered me, but there are a lot of features that I no longer have in this version. I won't upgrade again since I can't get a perpedual license anymore and I don't believe in paying 30X the cost, or more (over time) to "rent" a piece of software that I used to be able to own. (pardon my venting).
Copy link to clipboard
Copied
Interesting, I don't know when the image field was added to the forms toolbar. But it is easy enough to fix. Add this code to the MouseUP event on a button field. The button layout (on the options tab, on the properties dialog) must be set to "Icon Only", and the appearance should be set to no fill color.
event.target.buttonImportIcon();
Thats all there is to an image field.
Copy link to clipboard
Copied
That gives me what I need. Thanks much!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Have you tried just using the Image Field? It includes all the needed code.