THotPDF.DecryptFile Method

Provides decrypt file behaviour for the security workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics

Declaration

function DecryptFile(const InputFileName: TFileName; const OutputFileName: TFileName; const Password: AnsiString): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
InputFileNameFile path used as the source or destination for this operation
OutputFileNameFile path used as the source or destination for this operation
PasswordPassword used for encrypted input or encrypted output workflows

Return value

Returns an Integer value

Usage notes

Related APIs