Description
A DocumentProtection.ProtectionLevel value specifies what type of editing is allowed in the document.
C#
public sealed class ProtectionLevel : TypesafeEnum
vb.net
Public NotInheritable Class ProtectionLevel Inherits TypesafeEnum
Values
Name |
Description |
|---|---|
Comments |
Only comments may be edited. |
Forms |
Only form fields may be modified. |
None |
All parts of the document may be modified. |
ReadOnly |
The document cannot be modified. |
TrackChanges |
Word's change tracking feature will be enabled. |
