Example of Form filling and Protection in ASP.NET Core Word (DocIO) Library
This sample demonstrates how to fill a form and protect the content controls in an existing Word document using Essential DocIO.
DEMO
SOURCE
DocIO allows you to create and edit content controls in the Word Open XML Format document (DOCX, DOTX, DOCM, DOTM). With the content control support, you can create a more functional form which gives built-in form filling experience.
- Content controls has several types plain text, rich text, picture, check box, combo box, drop down list, date picker, etc.
- You can lock/unlock the content controls from deleting or content editing by the users. It helps in creating fillable form without using document protection functionality.
- You can also set editing restriction that does not allow the users to edit the Word document, except filling the content controls and form fields in the Word document.
More information about the content controls can be found in this
Documentation
section.