WorkbookProtect Method
Protects a workbook.

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.9.0.0 (19.9)
Syntax
public void Protect(
	ProtectionType protectionType,
	string password
)

Parameters

protectionType
Type: Aspose.CellsProtectionType
Protection type.
password
Type: SystemString
Password to protect the workbook.
See Also