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