![]() The following code example shows how to restrict editing to modify only form fields in a Word document. NoProtection: You can access/edit the Word document contents as normally. After enabling this flag, accept and reject changes options in Microsoft Word application are disabled.ĪllowOnlyReading: You can only view the content in the Word document. Only enabling a minimal set of features makes it much easier for them to secure this environment. The following are the types of protection:ĪllowOnl圜omments: You can add/modify only the comments in the Word document.ĪllowOnlyFormFields: You can modify the form field values in the Word document.ĪllowOnlyRevisions: Allow only revisions to be made to existing content. The Microsoft word codebase is vast, with a significant focus on backward compatibility the protected view, however, is a much newer and smaller feature that can be focused entirely on allowing you to view a document safely. ![]() ![]() You can restrict a Word document from editing either by providing a password or without password. You can download a complete working sample from GitHub. Assembly using ( WordDocument document = new WordDocument ()) //Refer to the following link to save Word document in UWP platform // Input the correct password in the 'Unprotect document' dialog. ![]() Then, you can see a 'Stop protection' button in the lower right corner. "App" is the class of Portable project. Here's how to do that: Step 1: Open the locked Word document. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |