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)
| Parameter | Type | Description |
|---|---|---|
| ownerPassword | const System::String& | Owner password. |
ReturnValue
True for success,or false.
See Also
- Class String
- Class PdfFileSecurity
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++