Skip to main content

Document.ProtectionType Property

Gets the protection type for the document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

DocumentProtectionType ProtectionType { get; }

Property Value

Type Description
DocumentProtectionType

One of the DocumentProtectionType enumeration values.

Available values:

Name Description
None

Allows free access to the document.

ReadOnly

Allows read-only access to the document.

AllowComments

Allows users to add comments to the document.

TrackedChanges

Allows users to make revisions in a document.

FillInForms

Allows users to fill in forms and form fields.

See Also