Type of the protection in the document
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public enum ProtectionType
Public Enumeration ProtectionType
public enum class ProtectionType
type ProtectionType
Members
| Member | 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
|