Click or drag to resize

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
)

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