Hi,
I am trying to disable the Print and Save options available in the output PDF but on adding the below code, only Print feature is disabled. I am currently using Adobe Reader XI.
DocumentPrivilege privilege = DocumentPrivilege.ForbidAll;
privilege.AllowCopy = false;
privilege.AllowPrint = false;
PdfFileSecurity fileSecurity = new PdfFileSecurity(inputFilePath, outputFilePath);
fileSecurity.SetPrivilege(privilege);
Can you please let me know what i am missing here ?
Regards,
Smita