protect method

protect(self, protection_type, password)

Protects a workbook.


def protect(self, protection_type, password):
    ...
ParameterTypeDescription
protection_typeaspose.cells.ProtectionTypeProtection type.
passwordSystem.StringPassword to protect the workbook.

See Also