Skip to main content

TcxCustomCanvas.DrawImage(TdxGPImage,TRect,PcxCanvasBasedImage) Method

Draws a bitmap stored in a specified image container on a designated canvas area.

Declaration

procedure DrawImage(AImage: TdxGPImage; const ATargetRect: TRect; ACache: PcxCanvasBasedImage = nil); overload; virtual;

Parameters

Name Type
AImage TdxGPImage
ATargetRect TRect
ACache PcxCanvasBasedImage

Remarks

Call this procedure and pass a target rectangle on the canvas as the ATargetRect parameter to draw content of a Smart Image container (a TdxGPImage class descendant) passed as the AImage parameter.

Note

The ACache optional parameter is not intended for use in your code. Only the internal Direct2D-based draw routines use this parameter.

See Also