rvico TRichView Reference | TRVReportHelper

TRVReportHelper.OnDrawCheckpoint

Top  Previous  Next

Occurs when the ReportHelper draws item having checkpoint

type

  TRVDrawCheckpointEvent = procedure (Sender: TRVReportHelper;

    RVData: TCustomRVData; ItemNo: Integer; X, Y: Integer) of object;

 

property OnDrawCheckpoint: TRVDrawCheckpointEvent;

(introduced in v1.9)

This method informs when some item with checkpoint is drawn. It's similar to OnDrawHyperlink.

Parameters:

RVData – document containing item.

ItemNo – index of checkpoint's item inside this document.

(X,Y) – top left corner of this item on page (coordinate of the top left corner of the document is (0,0)).

 

This is not a custom drawing event but an informational event.

For example, this method can be used to create links inside document in generated PDF files (note: PDF generation requires other third-party components).


TRichView © trichview.com