TCustomRVPrint.OnAfterPrintImage

<< Click to display table of contents >>

TCustomRVPrint.OnAfterPrintImage

Allows custom printing on pictures and hot-pictures.

VCL and LCL:

type

  TRVAfterPrintImageEvent = procedure(Sender: TCustomRVPrint;
    ARVData: TCustomRVData; AItem: TCustomRVItemInfo; 

    ACanvas: TRVCanvas;
    const ARect: TRVCoordRect; APSaD: PRVScreenAndDeviceof object;

FireMonkey:

type

  TRVAfterPrintImageEvent = procedure(Sender: TCustomRVPrint;
    ARVData: TCustomRVData; AItem: TCustomRVItemInfo; 

    ACanvas: TRVFMXCanvas;
    const ARect: TRVCoordRect; APSaD: PRVScreenAndDeviceof object;

 

property OnAfterPrintImage: TRVAfterPrintImageEvent;

(introduced in version 20)

Parameters:

ACanvas canvas for printing.

ARVData a document containing the item.

AItem an item that is being drawn.

ARect image rectangle on ACanvas; it does not include spacing and borders.

 

This event occurs when the image is already printed. It allows printing additional content on top of it.

 

See also:

TRichView.OnAfterDrawImage