How to disable the properties of pdf files using C#.. Here i want to disable print, save properties of pdf file
I want to disable the print and save properties of pdf file using C# and also i want to stop the pdf file from forwarding via mail...
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sharon White50 reputationPosted Sep 18, 2012, 1:28 AM EDT
I don't have a direct solution, but the following code I use can meet your requirement.
doc.Security.Permissions = PdfPermissionsFlags.EditContent;
Through using the above code, besides editing, all the other functions, print, copy etc. will be disabled.
(The above code is based on a .NET PDF component)
The following image shows properties of my PDF.
Yin45 reputationPosted Oct 8, 2012, 6:53 PM EDT