DocumentProtectionValues enumeration

Office 2013 and later

Defines the DocumentProtectionValues enumeration.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public enum DocumentProtectionValues

Member nameDescription
None No Editing Restrictions. When the item is serialized out as xml, its value is "none".
ReadOnly Allow No Editing. When the item is serialized out as xml, its value is "readOnly".
Comments Allow Editing of Comments. When the item is serialized out as xml, its value is "comments".
TrackedChanges Allow Editing With Revision Tracking. When the item is serialized out as xml, its value is "trackedChanges".
Forms Allow Editing of Form Fields. When the item is serialized out as xml, its value is "forms".
Show: