WorkbookProtectionModel
Overview
WorkbookProtectionModel is a class in Aspose.Cells for NET.
WorkbookProtectionModel.HasStoredState returns true if the model contains persisted protection data.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
LockStructure | bool | Read/Write | |
LockWindows | bool | Read/Write | Gets or sets whether the workbook’s window layout is locked |
LockRevision | bool | Read/Write | Gets or sets whether revisions are locked |
WorkbookPassword | string | Read/Write | Gets or sets the password protecting the workbook |
RevisionsPassword | string | Read/Write | Gets or sets the password for workbook revisions |
Methods
| Signature | Description |
|---|---|
CopyFrom(source: WorkbookProtectionModel) | Copies protection settings from the given source model |
HasStoredState() | Returns true if the model contains persisted protection data |