Lock/Unlock All Command Bars

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

synovagroup
User
Posts: 6
Joined: Tue Apr 07, 2009 6:31 pm

Lock/Unlock All Command Bars

Post by synovagroup »

How do I lock the Command bars and then prevent the end user from unlocking Command bars?

Brian
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2449
Joined: Thu Jun 30, 2005 4:11 pm

Re: Lock/Unlock All Command Bars

Post by Vasyl - PDF-XChange »

For this please call:

Code: Select all

SetProperty("View.LockAllBars", "true");
SetProperty("Commands["LockAllCmdBars"].State", "Offline");
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
synovagroup
User
Posts: 6
Joined: Tue Apr 07, 2009 6:31 pm

Re: Lock/Unlock All Command Bars

Post by synovagroup »

Thank you !