ExcelDocumentSecurityProtectWorkbook Method (Boolean, Boolean) |
Protects the workbook window and structure.
Namespace:
ExpertXls.ExcelLib
Assembly:
expertxls (in expertxls.dll) Version: 7.0.0
Syntax public void ProtectWorkbook(
bool protectWindow,
bool protectStructure
)
Public Sub ProtectWorkbook (
protectWindow As Boolean,
protectStructure As Boolean
)
Parameters
- protectWindow
- Type: SystemBoolean
When this flag is true the workbook window will be protected. - protectStructure
- Type: SystemBoolean
When this flag is true the workbook structure is protected.
See Also