Click or drag to resize

XlsWorkbook SetWriteProtectionPassword Method

Sets the write protection password for the workbook.

Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void SetWriteProtectionPassword(
	string password
)

Parameters

password
Type: System String
The password to set for write protection.

Implements

IWorkbook SetWriteProtectionPassword(String)
See Also