WorksheetProtectionModel

WorksheetProtectionModel

General

WorksheetProtectionModel és una classe en Aspose.Cells per NET.

WorksheetProtectionModel.Clear restableix totes les configuracions de protecció a la seva normalitat.

Propietats

NameTypeAccessDescription
IsProtectedboolRead/WriteIndicates if the worksheet is currently protected
ObjectsboolRead/WriteGets or sets permission to edit objects on the protected sheet
ScenariosboolRead/WriteIndicates whether scenario manager is protected
FormatCellsboolRead/WriteGets or sets permission to format cells on the protected sheet
FormatColumnsboolRead/WriteIndicates if column formatting is locked
FormatRowsboolRead/WriteIndicates if row formatting is locked
InsertColumnsboolRead/WriteGets or sets permission to insert columns on the protected sheet
InsertRowsboolRead/WriteIndicates if inserting rows is prohibited
InsertHyperlinksboolRead/WriteIndicates if inserting hyperlinks is prohibited
DeleteColumnsboolRead/WriteIndicates if deleting columns is prohibited
DeleteRowsboolRead/WriteGets or sets permission to delete rows on the protected sheet
SelectLockedCellsboolRead/WriteGets or sets permission to select locked cells
SortboolRead/WriteIndicates if sorting is allowed on the worksheet
AutoFilterboolRead/WriteGets or sets permission to use auto‑filter on the protected sheet
PivotTablesboolRead/WriteIndicates if pivot tables are protected from editing
SelectUnlockedCellsboolRead/WriteGets or sets permission to select unlocked cells
PasswordHashstring?Read/WriteGets or sets the stored password hash for worksheet protection
AlgorithmNamestring?Read/WriteHolds the name of the hash algorithm used for protection
HashValuestring?Read/WriteHolds the hash value derived from the protection password
SaltValuestring?Read/WriteHolds the salt used in the password hashing process
SpinCountstring?Read/WriteGets or sets the number of hash iterations for password protection

Mètodes

SignatureDescription
Clear()Resets all protection settings to their defaults
HasStoredState()Indicates whether protection settings have been saved
 Català