Thumbnail Toolbar & DenyAllPrintOperations

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

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

Tracker - Clarion Support
Site Admin
Posts: 64
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA

Thumbnail Toolbar & DenyAllPrintOperations

Post by Tracker - Clarion Support »

I have a developer who needs to be able to disable both the Export and Print buttons on the Thumbnail toolbar in his ActiveX window.

Using DenyAllExportOperations accomplishes this for the Export button, but setting Command State for Print does not do this for the Thumbnail toolbar Print button which remains functional.

Would it be possible to add DenyAllPrintOperations to the ActiveX which would disable ALL Print operations, buttons, toolbars, etc.? It would certainly help my developer!

Possibly a DenyAllSaveOperations would be useful as well, to prevent end-users from saving copies of the PDF being displayed.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Thumbnail Toolbar & DenyAllPrintOperations

Post by Vasyl-Tracker Dev Team »

You can disable some commands for this:
SetProperty("Commands["Print"].State", "Offline");
SetProperty("Commands["Save"].State", "Offline");
SetProperty("Commands["SaveAs"].State", "Offline");
SetProperty("Commands["SaveCopyAs"].State", "Offline");
In the future we planning to add special possibility for read/modify of document permissions (print, save, export, copy.. etc.).
It can be represented in the future as:
SetDocumentProperty(DocID, "Permissions.Print", "false");
SetDocumentProperty(DocID, "Permissions.Save", "false");
SetDocumentProperty(DocID, "Permissions.Export", "false");
SetDocumentProperty(DocID, "Permissions.Close", "false");
...
DenyAllPrintOperations, DenyAllSaveOperations - also good idea, and it will be added in the next build.

Thanks.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker - Clarion Support
Site Admin
Posts: 64
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA

Re: Thumbnail Toolbar & DenyAllPrintOperations

Post by Tracker - Clarion Support »

Hi Vasyl!

SetProperty("Commands["Print"].State", "Offline"); For some reason, this does not seem to disable the functionality of the Print button on the Thumbnail toolbar

Looking forward to DenyAllPrintOperations and DenyAllSaveOperations in the next build!

Any estimated delivery date for that? ("This month" "Next Month" "4th quarter" ?)
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Thumbnail Toolbar & DenyAllPrintOperations

Post by Vasyl-Tracker Dev Team »

Possible in the next week.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.