checkWriteProtection
checkWriteProtection(String password) method
Checks whether a password to modify is correct for a write protected presentation.
Parameters
Name | Type | Description |
---|---|---|
password | String | The password to check. 1. You should check the ( #isWriteProtected) property before calling this method. 2. When password is null or empty, this method returns false. |
Returns
boolean
Exception
Exception | Condition |
---|---|
InvalidOperationException | If a presentation is protected by a password to open or format does not support write protection |