Click or drag to resize

DocumentEditProtection Methods

The DocumentEditProtection type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also