Disable Save As capabilities

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ap_mi
User
Posts: 47
Joined: Mon Aug 31, 2015 11:38 pm

Disable Save As capabilities

Post by ap_mi »

Is there a property we can set in order to disable all "Save As" and "Open" capabilities? I'm trying to prevent users from opening any new files and saving to new files.

Any help is appreciated.

Thanks.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Disable Save As capabilities

Post by Stefan - PDF-XChange »

Hello ap_mi,

You can disable pretty much all commands in the UI:

Code: Select all

SetProperty("Commands["Print"].State", "Offline", 0);
as explained here: https://help.pdf-xchange.com/DEV/de ... _a_command

And this is the list of commands:
https://help.pdf-xchange.com/DEV/de ... mmand_list

Regards,
Stefan