how to protecta word document in c# RRS feed

  • Question

  • Hi,

    I had created a new tab ribbon to be installed in my machine. i need to give provision to the user to protect the document in the click of the button. I am trying to use the "Protect" method in the document by giving its required parameters. i am trying to protect it as readonly mode file. but its not setting the readonly attribute to the file. i will save the resulting word document in word xml format.

    Pls any one provide me a solution for the issue.

    Thanks in advance.
    Saturday, December 5, 2009 10:26 AM

All replies

  • Thanks for visiting the forum.

    The forum designed for sharing knowledge and resolving problems related to Open XML SDK and Open XML Format. Your question is specific to the Word App, which is out of the scope of this forum, and our expertise.

    You probably need to find the appropriate forum for your question.
    Monday, December 7, 2009 2:58 AM