vcl-dxspreadsheetcore-dot-tdxcustomspreadsheet-25b1e24f.md
Specifies the spreadsheet document structure protection options.
property OptionsProtection: TdxSpreadSheetWorkbookProtectionOptions read; write;
| Type |
|---|
| TdxSpreadSheetWorkbookProtectionOptions |
This property provides access to the spreadsheet document protection settings, including the protection state and the end-user permissions. For instance, you can use the OptionsProtection.Protected and OptionsProtection.AllowChangeStructure properties to identify and/or change the spreadsheet document protection status and the end-user capability to modify the document structure.
To enable or disable the document structure protection, you can call the Protect and Unprotect procedures, respectively.
For detailed information on all available protection options, refer to the TdxSpreadSheetWorkbookProtectionOptions class description.
See Also
TdxCustomSpreadSheet.OptionsBehavior
TdxCustomSpreadSheet.OptionsLockedStateImage