TExportWorkSheetProtection class stores the information about protection of a specific worksheet.
Name | Type | Description |
---|---|---|
Enabled | Boolean | If Enabled is false, the sheet is not protected. |
Password | OWideString | Protect the worksheet with a password. |
AllowOptions | TExportWorkSheetProtectionOptions |
Set of allowed options. If you enable an option, that means that the user is allowed to do the operation. epoSelectLockedCells, epoSelectUnlockedCells, epoFormatCells, epoFormatColumns, epoFormatRows, epoInsertColumns, epoInsertRows, epoInsertHyperlinks, epoDeleteColumns, epoDeleteRows, epoSort, epoUseAutoFilter, epoUsePivotTables Default: [epoSelectLockedCells, epoSelectUnlockedCells] |