DocumentProtectionOptions Class
Encapsulates document protection options for the WordProcessing document, which is generated from HTML
Inheritance Hierarchy
SystemObject
  GroupDocs.Editor.OptionsDocumentProtectionOptions

Namespace: GroupDocs.Editor.Options
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 19.5
Syntax
public sealed class DocumentProtectionOptions

The DocumentProtectionOptions type exposes the following members.

Constructors
  NameDescription
Public methodDocumentProtectionOptions
Parameterless constructor - all parameters have default values
Public methodDocumentProtectionOptions(DocumentProtectionType, String)
Allows to set all parameters during class instantiation
Properties
  NameDescription
Public propertyPassword
The password to protect the document with. If null or empty string - the protection will not be applied to the document.
Public propertyProtectionType
Allows to set a protection type of the document. By default is set to not protect the document at all.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also