DocumentProperties.Security Property
In This Article
Gets or sets the security level of the document.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
DocumentSecurity Security { get; set; }
#Property Value
Type | Description |
---|---|
Document |
One of the Document |
Available values:
Name | Description |
---|---|
None | Not specified. |
Password | Document is password protected. |
Readonly |
Document is recommended to be opened as read-only. |
Readonly |
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