Detect checkbox on annot

PDF-XChange Editor SDK for Developers

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

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Detect checkbox on annot

Post by jusWest »

hello, looking at the attaced image, is there a way to detect when that checkbox is selected?

Severale events fires, but none specific to this element.

annot_select.PNG

BTW, this is in the comments pane, where you can select multiple comments

Regards
Ronny
You do not have the required permissions to view the files attached to this post.
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: Detect checkbox on annot

Post by jusWest »

any help?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am

Re: Detect checkbox on annot

Post by Sasha - Tracker Dev Team »

Hello Ronny,

Here's a short JS sample on how you can set that property for the first annotation on first page:

Code: Select all

 var annots = this.getAnnots(0);
annots[0].transitionToState("Marked", "Marked");
And here's a help link:
https://help.adobe.com/en_US/acrobat/ac ... _1_8_3_2_4
This method can be used to execute JS in Editor:
https://sdkhelp.pdf-xchange.com/vi ... _ExecuteJS

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ