check_write_protection method
check_write_protection
Determines whether a presentation is a password protected to modify.
Returns
True if the password is valid; otherwise, false.
def check_write_protection(self, password):
...
| Parameter | Type | Description |
|---|---|---|
| password | str | The password for checking. |
Remarks
- You should check the
ProtectionManager.is_write_protectedproperty before calling this method. 2. When the password is None or empty, this method returns false.
See Also
- class
ProtectionManager - module
aspose.slides - library
Aspose.Slides