Class ProtectionType
Enumerates the types of protection that can be applied to a document.
Inheritance
System.Object
ProtectionType
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class ProtectionType : Enum
Fields
CommentsOnly
Only comments can be inserted into the document.
Declaration
public const ProtectionType CommentsOnly
Field Value
| Type | Description |
|---|---|
| ProtectionType |
FormFilling
Only form fields can be filled out.
Declaration
public const ProtectionType FormFilling
Field Value
| Type | Description |
|---|---|
| ProtectionType |
None
No protection applied.
Declaration
public const ProtectionType None
Field Value
| Type | Description |
|---|---|
| ProtectionType |
ReadOnly
Document is protected from edits, but specific sections or content regions can be exempt.
Declaration
public const ProtectionType ReadOnly
Field Value
| Type | Description |
|---|---|
| ProtectionType |
TrackChanges
Only track changes is enabled.
Declaration
public const ProtectionType TrackChanges
Field Value
| Type | Description |
|---|---|
| ProtectionType |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |