Click or drag to resize

IWorkbook Protect Method

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
)

Parameters

bIsProtectWindow
Type: System Boolean
Indicates if protect workbook window.
bIsProtectContent
Type: System Boolean
Indicates if protect workbook content.
See Also