Looking for a programmatic way to disable Copy and Paste

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

docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Looking for a programmatic way to disable Copy and Paste

Post by docu-track99 »

Hi Tracker,

Can you please tell us if there is a programmatic way to disable the "Copy" and "Paste" command from the right click menu of any annotation?

We want to lock the annotation and disable copy and paste from the right click menu after the focus has been changed to another annotation of the same document.

Thanks
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: Looking for a programmatic way to disable Copy and Paste

Post by Tracker Supp-Stefan »

Hi docu-track99,

You should be able to disable any command in the Viewer as shown here:
https://help.pdf-xchange.com/DEV/de ... _a_command

You can check all the IDs here:
https://help.pdf-xchange.com/DEV/de ... mmand_list

And the ones you need are
36369 - Copy
36370 - Paste

Regards,
Stefan