Hi,
Our requirement is we want to allow Content Copying and Content Copying for Accessibility while we are encrypting pdf file without password.
Our code snipped is
Aspose.Pdf.Document pdfSourceFile = new Aspose.Pdf.Document(inputFile);
Permissions Permission = new Permissions();
string password = string.Empty;
Permission = Permissions.PrintDocument | Permissions.ModifyContent | Permissions.ModifyTextAnnotations;
pdfSourceFile.Encrypt(password, null, Permission, CryptoAlgorithm.AESx128);’
In this case Content Copying and Content Copying for Accessibility are Not allowed.
Please help us on this matter.