ExcelDocumentSecurityProtectWorkbook(Boolean, Boolean) Method
Protects the workbook window and structure.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public void ProtectWorkbook(
bool protectWindow,
bool protectStructure
)
Public Sub ProtectWorkbook (
protectWindow As Boolean,
protectStructure As Boolean
)
public:
void ProtectWorkbook(
bool protectWindow,
bool protectStructure
)
member ProtectWorkbook :
protectWindow : bool *
protectStructure : bool -> unit
Parameters
- protectWindow Boolean
- When this flag is true the workbook window will be protected.
- protectStructure Boolean
- When this flag is true the workbook structure is protected.