doCommand FlattenAnnots (ID: 36340)

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

Post Reply
Posts: 6
Joined: Mon Jul 22, 2013 2:32 pm

doCommand FlattenAnnots (ID: 36340)

Post by rho123456 » Mon Jul 29, 2013 7:54 pm

Is it possible to call 'FlattenAnnots' (ID: 36340) in a way that no dialog will be displayed?

Currently it will display two dialog boxes to confirm. I want to flatten without the need for any confirmation.

Thanks and regards

Nico - Tracker Supp
Posts: 220
Joined: Fri May 18, 2012 8:41 pm

Re: doCommand FlattenAnnots (ID: 36340)

Post by Nico - Tracker Supp » Mon Jul 29, 2013 9:09 pm

Hi rho123456,

Thank you for your post.
You cannot get rid of the "Flatten Annotations" dialog, but you can turn off the second confirmation dialog through the User Interface check box.
These dialogs cannot be disabled programmatically either.
Another alternative is to use the following JavaScript call:

Code: Select all

with the RunJavaScript() method.

Post Reply