Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomCanvas.DrawImage(TdxGPImage,TRect,PcxCanvasBasedImage) Method

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 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