Page 1 of 1

Add Icon or Image to Button

Posted: Mon Jan 26, 2015 3:12 pm
by quicdoc
I have a pdf form with a button that I would like to use as a placeholder for an image file. I am using the pdf viewer ocx control to load and fill out a pdf file. I have tried to use the following javascript to programatically load or set the image file for the button:

var f = this.getField('Button')
var retn = f.buttonImportIcon("/C/temp/myimage.bmp");

When I use this I get an error "f.buttonImportIcon is not a function" though it is referenced in the adobe sdk guide.
Can you please offer guidance on what the issue is or another way I can in code insert an image into the pdf document?

Thank you

Re: Add Icon or Image to Button

Posted: Mon Jan 26, 2015 8:39 pm
by Vasyl-Tracker Dev Team
Hi, quicdoc.

Sorry, it is not implemented for now. It will be added in near future.

Cheers.

Re: Add Icon or Image to Button

Posted: Tue Feb 03, 2015 9:33 pm
by Vasyl-Tracker Dev Team
Update to latest build (312) - this feature is added already.