Aspose::Pdf::Facades::PdfFileSecurity::MfDecryptFile method

PdfFileSecurity::MfDecryptFile method

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

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

ReturnValue

True for success.

See Also