paxti.blogg.se

How to remove edit protection from word document
How to remove edit protection from word document












how to remove edit protection from word document how to remove edit protection from word document

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














How to remove edit protection from word document