
To grant editing rights to everyone, Everyone value of EditorGroup enumeration has been passed to the GroupEditor method.

To enable editable ranges, the IsActive property of EditProtection class should be set to true and the edit mode should be set to AllowOnlyReading. Set a password so that users who know the password can remove the protection and work on the documentĭoc.SetPassword( "abc123") ĭoc. = true Įditable ranges are specific regions in a read-only document, which can be edited or modified by users or groups with editing rights. Specify the protection mode for a documentĭoc. = EditProtectionMode.AllowOnl圜omments Set the password using SetPassword method of Password class which can be accessed using EditProtection property of DocumentProtection class.Set the IsActive property of EditProtection class to true.Set the enum value of EditProtectionMode to AllowOnl圜omments using the EditMode property of EditProtection class.Load a document using the Load method of GcWordDocument class.

Edit modesĪllows read-only access to the document except regions(ranges) with defined editor rights.Īllows only comments to be added to the document.Īllows content to be added to the document only through form fieldsĭoes not apply any protection to the document. You can also set a password using the Password property of EditProtection class which enables only the users with password to remove the editing restrictions from the document. The IsActive property of EditProtection class should be set to true in order to enforce the editing restrictions. You can apply certain edit modes to the document by using the EditProtectionMode enumeration.

GcWord supports editing restrictions to limit the user's ability to edit text in the document.

GcWordDocument doc = new GcWordDocument() ĭoc. = true
