protect method
protect
Protects a workbook.
def protect(self, protection_type, password):
...
Parameter | Type | Description |
---|---|---|
protection_type | ProtectionType | Protection type. |
password | str | Password to protect the workbook. |
See Also
- module
aspose.cells
- class
Workbook