May I know any methods for convert the protected PDF file to image or get the content in APDFL?
The protected file can be opened but cannot copy the text.
When i run the sample source and throw the exception as below :
This operation is not permitted. Error number: 1073938472
PDF Library Error: This operation is not permitted. Error number: 1073938472 generally indicates that there’s a permission issue with the PDF file.
You can see the full Security settings of your PDF document by opening it in either Adobe Acrobat or Adobe Reader, and then pressing Ctrl+D to bring up the document’s Properties popup window. Select the Security tab, and you can review what settings are enabled or disabled on that document.
In this case, if the document’s security settings for ‘Copy Content’ or ‘Changing the Document’ falls under Not Allowed, then processing the document by calling getContent or DocToImages will cause this error.
Please let us know if this helps.
Please login or Register to submit your answer