Edit

Share via


Word.ProtectionType enum

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Specifies the protection type for a Word document.

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

Fields

allowOnlyComments = "AllowOnlyComments"

Only comments are allowed in the document.

allowOnlyFormFields = "AllowOnlyFormFields"

Only form fields are allowed in the document.

allowOnlyReading = "AllowOnlyReading"

Only reading is allowed in the document.

allowOnlyRevisions = "AllowOnlyRevisions"

Only revisions are allowed in the document.

noProtection = "NoProtection"

No protection is applied to the document.