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
Add Icon or Image to Button
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Add Icon or Image to Button
Hi, quicdoc.
Sorry, it is not implemented for now. It will be added in near future.
Cheers.
Sorry, it is not implemented for now. It will be added in near future.
Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Add Icon or Image to Button
Update to latest build (312) - this feature is added already.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.