TcxCanvas.DrawImage(TCustomImageList,Integer,Integer,Integer,Boolean) Method
In This Article
Draws an image from a specified image list.
#Declaration
Delphi
procedure DrawImage(Images: TCustomImageList; X: Integer; Y: Integer; Index: Integer; Enabled: Boolean = True);
#Parameters
Name | Type |
---|---|
Images | TCustom |
X | Integer |
Y | Integer |
Index | Integer |
Enabled | Boolean |
#Remarks
Call this procedure and pass a source image list as the Images parameter to draw an image whose index within the list is passed as the Index parameter. Use the X and Y parameters to define the image’s origin on the canvas. You can pass False as the optional Enabled parameter to draw a grayscaled version of the target image.
Enabled Value | Example (an icon to the right of the Group By box caption) |
---|---|
True | ![]() |
False | ![]() |
Note
The Draw
See Also