TPDFlibPasswordEvent

Data types, events

Description

Supplies a replacement password or cancels an encrypted document load after a rejected credential

Syntax

TPDFlibPasswordEvent = Procedure(Sender: TObject; AttemptNumber: Integer; Var Password: WideString; Var Retry: Boolean) Of Object;

Parameters

SenderThe TPDFlib instance performing the load
AttemptNumberThe one-based number of the next attempt
PasswordThe credential that will be tried when retrying
RetrySet to true to perform the next attempt

See also

OnPassword