TcxCustomCanvas.DrawImage(TdxGPImage,TRect,PcxCanvasBasedImage) Method
In This Article
Draws a bitmap stored in a specified image container on a designated canvas area.
#Declaration
Delphi
procedure DrawImage(AImage: TdxGPImage; const ATargetRect: TRect; ACache: PcxCanvasBasedImage = nil); overload; virtual;
#Parameters
Name | Type |
---|---|
AImage | Tdx |
ATarget |
TRect |
ACache | Pcx |
#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