Skip to main content
Participant
February 16, 2020
Question

Accessing mobile's camera through Adobe XI

  • February 16, 2020
  • 1 reply
  • 417 views

I am using adobe XI pro to create forms and JavaScript. On the iOS device I am using the pdf expert app to utilize scripts. Is it possible to insert a photo using the devices camera? Any help is greatly appreciated. Thank you in advance.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
February 16, 2020

You can create an "image field" with the option to import an image when clicking it. Whether or not that will also work with the camera is up to the application where it is being used. To create such a field you just add a button field, set its Layout to Icon Only and set its Mouse Up event to execute the following JavaScript code:

event.target.buttonImportIcon();