Get Snapshot Properties From JavaScript Console

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
kcd2015
User
Posts: 12
Joined: Tue Oct 11, 2016 6:55 pm

Get Snapshot Properties From JavaScript Console

Post by kcd2015 »

Can anyone give me an example how to access a snapshot's properties from the JavaScript console? More specifically I need to extract the coords of the current snapshot.

My end goal here is to be able to Snapshot an area, do what I need to do with my snapshot image in the clipboard, then call my js from a button on the toolbar that will return the top, left, width, and height values of the current snapshot.

I already know how to call my scripts from the toolbar and all that jazz, just need to know how to access the snapshot properties.

Any help would be very much appreciated.
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8579
Joined: Wed Jan 03, 2018 6:52 pm

Re: Get Snapshot Properties From JavaScript Console

Post by TrackerSupp-Daniel »

Our Java API supports nearly all the functions available in the adobe reference
https://www.adobe.com/content/dam/acom/ ... erence.pdf
Hope you can find the answers here!
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply