8/27/2023 0 Comments Protect word document from editing![]() ![]() 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. 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. ![]() 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 // "App" is the class of Portable project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |