ExcelWorksheetSecurity Class

Manages the security options for a worksheet.

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public class ExcelWorksheetSecurity
Inheritance
Object    ExcelWorksheetSecurity

Properties

ProtectionFlags Gets the operations allowed for a protected worksheet.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ProtectWorksheet Protect the worksheet using the default protection options.
ProtectWorksheet(ExcelProtectionAllowFlags) Protects the worksheet and allows only the operations specified by the protection flags.
ProtectWorksheet(String) Protect the worksheet using the default protection options and set a password required to unprotect the worksheet.
ProtectWorksheet(String, ExcelProtectionAllowFlags) Protects the worksheet and allows only the operations specified by the protection flags and set a password required to unprotect the worksheet.
ToString
(Inherited from Object)
UnprotectWorksheet Unprotects the worksheet when no password was used to protect the worksheet.
UnprotectWorksheet(String) Unprotects the worksheet providing the password used when the worksheet was protected.

See Also