THotPDF.DADirectDecryptFileAES256 Method

Directly decrypts a PDF file using the AES-256 algorithm.

Declaration

function DADirectDecryptFileAES256(const InputFileName: TFileName; const OutputFileName: TFileName; const Password: AnsiString): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
InputFileNameName of the encrypted input PDF file
OutputFileNameName of the decrypted output PDF file
PasswordPassword required for decryption

Return values

Returns True if decrypted successfully, otherwise returns False.

Usage

See also