DocumentPrivilege AllowLevel properties are write only

Using the PDFFileInfo class you can obtain an aspose.pdf.kit.DocumentPrivilege object containing the privileges of existing PDFs.

However you cannot read the ChangeAllowLevel, ModifyAllowLevel or PrintAllowLevel properties as these are write only.

Is there another way of obtaining these from an existing PDF or is it possible to make these properties readable?

Hi Chris,

I have logged your concern as PDFKITNET-21897 in our issue tracking system for further investigation. Our team will look into this in detail and you’ll be updated with the results accordingly.

We’re sorry for the inconvenience.
Regards,