check_password method
check_password
Checks whether a password is correct for a presentation protected with open password.
Returns
True if the presentation is protected with open password and the password is correct and false otherwise.
def check_password(self, password):
...
| Parameter | Type | Description |
|---|---|---|
| password | str | The password to check. |
Remarks
When the password is None or empty, this method returns false.
Exceptions
| Exception | Description |
|---|---|
| RuntimeError(Proxy error(InvalidOperationException)) | |
| RuntimeError(Proxy error(NotSupportedException)) |
See Also
- class
PresentationInfo - module
aspose.slides - library
Aspose.Slides