OnOperationProgress

Events and error handling

Description

Reports the typed lifecycle of load, save, search, merge and page-render operations while the classic OnProgress event continues to receive percentage updates

Each notification identifies the operation kind and phase and supplies current units, total units, percentage and detail text such as a file name or search query

Set Cancel to True during opStarting or opRunning to activate the same state as Abort; call ResetAbort when the application is ready for another operation

Syntax

Delphi

Property OnOperationProgress: TPDFlibOperationProgressEvent Read FOnOperationProgress Write FOnOperationProgress;
TPDFlibOperationProgressEvent = Procedure(Sender: TObject; Const Info: TPDFlibOperationProgress; Var Cancel: Boolean) Of Object;