Sets protection for workbook.
Namespace:
Spire.Xls.Core
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
void Protect(
bool bIsProtectWindow,
bool bIsProtectContent
)
Sub Protect (
bIsProtectWindow As Boolean,
bIsProtectContent As Boolean
)
void Protect(
bool bIsProtectWindow,
bool bIsProtectContent
)
abstract Protect :
bIsProtectWindow : bool *
bIsProtectContent : bool -> unit
Parameters
-
bIsProtectWindow
-
Type:
System
Boolean
Indicates if protect workbook window.
-
bIsProtectContent
-
Type:
System
Boolean
Indicates if protect workbook content.
See Also