rvico TRichView Reference | TRVPrint


Top  Previous  Next

Occurs while FormatPages method is executed.


  TRVPrintingEvent = procedure(Sender: TCustomRichView;

    PageCompleted: Integer;

    Step:TRVPrintingStepof object;


property OnFormatting: TRVPrintingEvent;

In the first time, this event is generated with

PageCompleted=0, Step=rvpsStarting.

Next, this event occurs several times with

PageCompleted=<number of page which was formatted>, Step=rvpsProceeding.

In the last time, it occurs with

PageCompleted=0, Step=rvpsFinished.


Note1: Sender is a special RichView, internally contained in TRVPrint object.

Note2: The first step (preliminary formatting) takes 90% of time; subsequent repagination is quick.

See also methods:


See also events:


TRichView © trichview.com