ITabSheet
Protect Method (String, SheetProtectionType)
|
Protects current worksheet.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
void Protect(
string password,
SheetProtectionType options
)
Sub Protect (
password As String,
options As SheetProtectionType
)
void Protect(
String^ password,
SheetProtectionType options
)
abstract Protect :
password : string *
options : SheetProtectionType -> unit
Parameters
-
password
-
Type:
System
String
Represents password to protect.
-
options
-
Type:
Spire.Xls
SheetProtectionType
Represents params to protect.
See Also