WorkbookProtection

WorkbookProtection

Overview

WorkbookProtection is a class in Aspose.Cells for NET.

WorkbookProtection.LockStructure gets or sets whether the workbook’s structure is locked.

Properties

NameTypeAccessDescription
LockStructureboolRead/WriteIndicates whether the workbook’s sheet structure is locked
LockWindowsboolRead/WriteIndicates whether the workbook’s window layout is locked
LockRevisionboolRead/WriteIndicates whether the workbook’s revision (track changes) is locked
WorkbookPasswordstringRead/WriteHolds the password required to unprotect workbook structure and windows
RevisionsPasswordstringRead/WriteHolds the password required to unprotect workbook revision protection
IsProtectedboolReadReturns true if any workbook protection (structure, windows, or revision) is active