I'm having a problem with IsOperationGranted.
I want to extract text, therefore I check the copy operation before doing the extraction. On one computer this always fails with the message: Wrong operation (-2112674028)
Code: Select all
object vDataOut;
var datain = new object[2];
datain[0] = (long)1; // document
datain[1] = (long)5; // copy operation
_control.PdfView.DoDocumentVerb(int.Parse(outPar.ToString()), null, "IsOperationGranted", datain, out vDataOut);