officefileapi-devexpress-dot-spreadsheet-1b8dae52.md
Lists the security levels of the document.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
[Flags]
public enum DocumentSecurity
<Flags>
Public Enum DocumentSecurity
| 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.
|
The following properties accept/return DocumentSecurity values:
Currently SpreadsheetControl does not utilize security specifications represented by the DocumentSecurity enum. They can only be read and saved.
See Also