Bewerken

Delen via


WdProtectionType Enum

Definition

Specifies the type of protection applied to the current document.

public enum class WdProtectionType
[System.Runtime.InteropServices.Guid("992D8289-31EF-3821-87EE-F4994C1C6F55")]
public enum WdProtectionType
type WdProtectionType = 
Public Enum WdProtectionType
Inheritance
WdProtectionType
Attributes

Fields

Name Value Description
wdNoProtection -1

Do not apply protection to the document.

wdAllowOnlyRevisions 0

Allow only revisions to be made to existing content.

wdAllowOnlyComments 1

Allow only comments to be added to the document.

wdAllowOnlyFormFields 2

Allow content to be added to the document only through form fields.

wdAllowOnlyReading 3

Allow read-only access to the document.

Applies to