Click or drag to resize

DocumentEditProtection Methods

The DocumentEditProtection type exposes the following members.

Public methodSetPassword Sets the password. If password is or empty, any existing password will be cleared.
Public methodStartEnforcingProtection Starts enforcing protection by restricting document editing actions to those specified by editingRestriction parameter with optional password which must be specified to stop protection in consumer application such as MS Word.
Public methodStopProtection Stops enforcing protection and clears password, if there is any.
See Also