WorkbookProtection
General
WorkbookProtection és una classe en Aspose.Cells per NET.
WorkbookProtection.LockStructure obté o estableix si l’estructura del llibre està bloquejada.
Propietats
| 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 |