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(System::String ownerPassword)
ParameterTypeDescription
ownerPasswordSystem::StringOwner password.

ReturnValue

True for success,or false.

See Also