Suppress PDF/A alert  SOLVED

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.
Post Reply
User avatar
MartinCS
User
Posts: 153
Joined: Thu Apr 07, 2011 10:01 am
Contact:

Suppress PDF/A alert

Post by MartinCS »

Hello Tracker-Team,

is it possible to suppress the PDF/A conformance dialog when clicking 'Enable Editing' programmatically by default?
21-12-_2017_08-36-38.jpg
21-12-_2017_08-36-38.jpg (21.78 KiB) Viewed 1181 times
I'm already suppressing similar 'security' warnings using these code lines:

Code: Select all

PxvInst.Settings["Security.OpenFilePerm"].v = 1;
PxvInst.Settings["Security.OpenSitePerm"].v = 1;
And I'm wondering if this is possible for the PDF/A alert as well.

Thank you for your help in advance!

// Martin
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Suppress PDF/A alert  SOLVED

Post by Sasha - Tracker Dev Team »

Hello Martin,

Set this setting to false and it should work:

Code: Select all

Prompts.AskForDiscardPDFA
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
User avatar
MartinCS
User
Posts: 153
Joined: Thu Apr 07, 2011 10:01 am
Contact:

Re: Suppress PDF/A alert

Post by MartinCS »

Thank you, Alex!
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Suppress PDF/A alert

Post by Tracker Supp-Stefan »

:D
Post Reply