| 
ProtectionType Enumeration
  | 
 Type of the protection in the document
 Namespace:
 Spire.Doc
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public enum ProtectionType
 
Public Enumeration ProtectionType
 
public enum class ProtectionType
 
 
 
 
 Members
 Members
 
|  | Member name | Value | Description | 
|  | AllowOnlyComments | 1 | Only modify comments in the document. | 
|  | AllowOnlyFormFields | 2 | Only enter data in the form fields in the document. | 
|  | AllowOnlyReading | 3 | Only reading are allowed in the document. | 
|  | AllowOnlyRevisions | 0 | Only add revision marks to the document. | 
|  | NoProtection | -1 | Not protected | 
 
 
 See Also
See Also