Skip to main content
A newer version of this page is available. .
Row

DocumentProperties.Security Property

Gets or sets the security level of the document.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v18.2.Core.dll

Declaration

DocumentSecurity Security { get; set; }

Property Value

Type Description
DocumentSecurity

One of the DocumentSecurity enumeration values.

Available values:

Name Description
None

Not specified.

Password

Document is password protected.

ReadonlyRecommended

Document is recommended to be opened as read-only.

ReadonlyEnforced

Document is enforced to be opened as read-only.

Locked

Document is locked for annotation.

Remarks

The Security property allows you to specify one of the predefined document properties, a full set of which is available by using the IWorkbook.DocumentProperties property. To specify the custom document properties, use the DocumentProperties.Custom property.

See Also