WorkbookProtection
Overview
WorkbookProtection is a class in Aspose.Cells for NET.
WorkbookProtection.LockStructure gets or sets whether the workbook’s structure is locked.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LockStructure | bool | Read/Write | Indicates whether the workbook’s sheet structure is locked |
LockWindows | bool | Read/Write | Indicates whether the workbook’s window layout is locked |
LockRevision | bool | Read/Write | Indicates whether the workbook’s revision (track changes) is locked |
WorkbookPassword | string | Read/Write | Holds the password required to unprotect workbook structure and windows |
RevisionsPassword | string | Read/Write | Holds the password required to unprotect workbook revision protection |
IsProtected | bool | Read | Returns true if any workbook protection (structure, windows, or revision) is active |