Any chance to intercept the file open event and cancel it? Basically I want to prevent the user from Dragging and Dropping a document from explorer and onto the viewer. Would also be beneficial to prevent the user from printing a document.
Regards
Espen
Before and After Events
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2449
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Before and After Events
New property will be added into the next build:
"General.DenyOpenDocumentsWhenDrop"
Also, for prevent print operation you can turn off command:
SetProperty("Commands["Print"].State", "Offline", 0);
"General.DenyOpenDocumentsWhenDrop"
Also, for prevent print operation you can turn off command:
SetProperty("Commands["Print"].State", "Offline", 0);
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.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.