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 then open and modify the unprotected Excel workbook without editing restrictions. The Excel sheet protection password, workbook protection password, and other restrictions are all removed at once. You can restrict a Word document from editing either by providing a password or without password. Click Open to add Excel file to this software, then click Remove Password button. 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 |