OptionalpasswordThe string specifying the password to open a PDF document. Note if both 'password' and 'passwordBytes' are specified then 'passwordBytes' preferred.
OptionalpasswordThe bytes array specifying the password to open a PDF document. This property is useful when password contains specific regional character which cannot be converted to bytes using UTF8 encoding. Note if both 'password' and 'passwordBytes' are specified then 'passwordBytes' preferred.
OptionalthrowIndicating whether to throw an exception if the specified password is invalid. If "false", the document will be opened even if the specified password is invalid, but many methods and properties will not work in this case. Not specified means "true".
OptionalthrowIndicating whether to throw an exception if the definition of the security handler is in unknown or invalid format. If "false", the document will be opened even if the security handler cannot be parsed, but many methods and properties will not work in this case. Not specified means "true".
Represents the decryption options used when loading a PDF document.