API Reference

Enum

WordDocumentProtectionType

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Specifies the editing restriction applied to a Word document.

Inheritance

  • Enum
  • WordDocumentProtectionType

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const WordDocumentProtectionType None #

Does not restrict editing.

Value: 0
public const WordDocumentProtectionType ReadOnly #

Restricts the document to read-only use.

Value: 1
public const WordDocumentProtectionType Comments #

Allows comments only.

Value: 2
public const WordDocumentProtectionType TrackedChanges #

Allows tracked changes only.

Value: 3
public const WordDocumentProtectionType Forms #

Allows form-field editing only.

Value: 4