hello,
I am trying to use Copy command to copy selected annotation using:
DoVerb('','ExecuteCommand','Copy',vDataOut, 0);
however, I get exception saying "Command is disabled currently",
could you please help me resolve it.
Thanks
-Tatiana
Copy/Paste/Cut Annotation via API
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: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Copy/Paste/Cut Annotation via API
Hello TatianaS,
Is your document security protected?
Also have you considered using JS for annotation manipulations?
http://www.adobe.com/content/dam/Adobe/ ... erence.pdf
To execute JS code in the Viewer take a look at the RunJavaScript() method and samples in the manual/help file.
Regards,
Stefan
Is your document security protected?
Also have you considered using JS for annotation manipulations?
http://www.adobe.com/content/dam/Adobe/ ... erence.pdf
To execute JS code in the Viewer take a look at the RunJavaScript() method and samples in the manual/help file.
Regards,
Stefan