Error number: 1073938472 when call function DocToImages or getContent if the pdf file is protected

Community ForumCategory: Adobe PDF LibraryError number: 1073938472 when call function DocToImages or getContent if the pdf file is protected
okmqaz135 asked 1 month ago

Hello Support,
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
Many Thanks

1 Answers
Joshua answered 4 seconds ago

Hello,

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.

Best Regards,

Datalogics Support