Click or drag to resize

Workbook ProtectWorkbook Method

Sets protection for workbook.

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void ProtectWorkbook(
	bool bIsProtectWindow,
	bool bIsProtectContent,
	string password
)

Parameters

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