Dear Sir,
I buy pdf.kit one year ago and now I try to applicate a security to an existing PDF with this code:
Aspose.Pdf.Kit.License license = new Aspose.Pdf.Kit.License();
license.SetLicense(@"C:\_progetti\uni_cdgenerator\uni_cdgenerator\bin\Debug\Aspose.Pdf.Kit.lic");
PdfPrivilege privilege = 0;privilege = privilege | PdfPrivilege.Print;privilege = privilege |
PdfPrivilege.ScreenReaders; PdfFileSecurity pdfSecurity = new PdfFileSecurity(infile, outfile);bool ris = pdfSecurity.EncryptFile("", "", privilege, true);
I obtain a pdf file that is not protected to write
Any help?
Sorry for my poor english
thank you
best regards
This message was posted using Aspose.Live 2 Forum