Aspose::Pdf::Facades::PdfFileSecurity::TryDecryptFile method

PdfFileSecurity::TryDecryptFile method

Decrypts an encrypted Pdf document by owner password. If the document hasn’t owner password, it is allow to use user password. Does not throw an exception if process failed.

bool Aspose::Pdf::Facades::PdfFileSecurity::TryDecryptFile(const System::String &ownerPassword)
ParameterTypeDescription
ownerPasswordconst System::String&Owner password.

ReturnValue

True for success,or false.

See Also