We are developing C#.net 4.0 Windows Forms based application.we are using Dsoframer control to embed the Word document into my Application.Here, i want to prevent the user to edit the document.I have already opened Word Document in READ Only Mode.But still user can able to edit the doucment.Anyway, the updated content is not refelected in the original Document.But i would also like to prevent the user to make such editing?
Asked
Active
Viewed 675 times
1 Answers
1
wordDoc.Protect(Microsoft.Office.Interop.Word.WdProtectionType.wdAllowOnlyReading);
This is do that...

Saravanan
- 11,372
- 43
- 143
- 213