harmmeijer
Programmer
I need to make a pdf template where people can fill out some text (no problem) and put in a picture (a problem).
Tried to make a button and added java code to the event mouseup
event.target.buttonimportIcon()
This will only put another pdf in the button NOT an image file (*.jpg).
I do not know anything about java and acrobat so I am not familiar with the functions, events and properties of pdf objects.
Can someone give me advice on how to get the image file on the button (or anywhere in the document).
I need this image allso according to a certain scale, if the image is 600 by 400 the image will be resized to 300 by 200 if the image is 600 by 800 the image should be resized to 150 by 200 (maximum size of the image on the pdf document is 300 by 200).
Tried to make a button and added java code to the event mouseup
event.target.buttonimportIcon()
This will only put another pdf in the button NOT an image file (*.jpg).
I do not know anything about java and acrobat so I am not familiar with the functions, events and properties of pdf objects.
Can someone give me advice on how to get the image file on the button (or anywhere in the document).
I need this image allso according to a certain scale, if the image is 600 by 400 the image will be resized to 300 by 200 if the image is 600 by 800 the image should be resized to 150 by 200 (maximum size of the image on the pdf document is 300 by 200).