Hi Aspose,
When I set documentPrivilege.AllowScreenReaders in true and open Adobe Reader DC, Document Properties - in Document Restriction Summary “Content Copying for Accessibility” is allowed, but on “Document Security” dialog (“Show Details” button) “Content Accessibility Enabled” is not allowed.
image.png (20.1 KB)
Sample of code to repoduce issue.
using (var pdfDocument = new Aspose.Pdf.Document(resultFilePath))
{
var documentPrivilege = Aspose.Pdf.Facades.DocumentPrivilege.ForbidAll;
documentPrivilege.AllowScreenReaders = true;
pdfDocument.Encrypt(string.Empty, "1", documentPrivilege, Aspose.Pdf.CryptoAlgorithm.RC4x128, false);
pdfDocument.Save(resultFilePath);
}
Best regards,
Alex Shloma