XlsWorkbook
Protect Method (Boolean, Boolean)
|
Protects the window and/or content based on the provided parameters.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void Protect(
bool bIsProtectWindow,
bool bIsProtectContent
)
Public Sub Protect (
bIsProtectWindow As Boolean,
bIsProtectContent As Boolean
)
public:
virtual void Protect(
bool bIsProtectWindow,
bool bIsProtectContent
) sealed
abstract Protect :
bIsProtectWindow : bool *
bIsProtectContent : bool -> unit
override Protect :
bIsProtectWindow : bool *
bIsProtectContent : bool -> unit
Parameters
-
bIsProtectWindow
-
Type:
System
Boolean
Indicates whether to protect the window.
-
bIsProtectContent
-
Type:
System
Boolean
Indicates whether to protect the content.
Implements
IWorkbook
Protect(Boolean, Boolean)
See Also