Hi -
I have batch of PDFs and need to change the permissions of Changing the document to be Allowed from Not Allowed (see screen shot).
I tried using the below code but not working…
We could not find any attachment with the post. Furthermore, could you please share a sample PDF document with us. We will test the scenario in our environment and address it accordingly.
We have tested the scenario in our environment using Aspose.PDF for .NET 19.3 and your code snippet. We were able to reproduce the issue that you have mentioned. It seems that your PDF has restrictions set due to its form fields and API is unable to remove that restriction.
Therefore, we have logged an issue as PDFNET-46120 in our issue tracking system for the sake of correction. We will further look into details of the issue and keep you posted with the status of its rectification. Please be patient and spare us little time.
You can see that in the Document Security window all the necessary options are allowed.
There is a difference in the display in different windows (an internal feature of Adobe Acrobat), but all privileges in the output document are set correctly (all flags in the permissions field are set to allowed). picture121-1.png (50.6 KB)
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.