Checks whether a password is correct for a presentation protected with open password.
Parameters:
Name
Type
Description
password
String
The password to check. When the password is null or empty, this function returns false.
Returns:
boolean
Error
Error
Condition
NotSupportedException
if format is not supported to check passwords.
checkWriteProtection
Name
Description
checkWriteProtection (String)
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 function. 2. When password is null or empty, this function returns false.
Returns:
boolean
Error
Error
Condition
InvalidOperationException
If a presentation is protected by a password to open or format does not support write protection
getLoadFormat
Name
Description
getLoadFormat ()
Gets format of the binded presentation. Read-only LoadFormat.
Returns:
int
isEncrypted
Name
Description
isEncrypted ()
Gets True if binded presentation is encrypted, otherwise False. Read-only boolean.
Returns:
boolean
isPasswordProtected
Name
Description
isPasswordProtected ()
Gets a value that indicates whether a binded presentation is protected by a password to open.
Returns:
boolean
isWriteProtected
Name
Description
isWriteProtected ()
Gets a value that indicates whether a binded presentation is write protected. If the presentation is protected by a password to open, the property value equals NotDefined.