TCnImageList.Draw(_Graphics,Integer,Integer,Integer,Integer,Integer) Method
Draws the image indicated by the given index on the specified Graphics using the specified location and size.
public procedure Draw(Graphic: _Graphics; X: Integer; Y: Integer; Width: Integer; Height: Integer; Index: Integer); overload;
Parameters
- Graphic
- Type: System.Void
The Graphics to draw on.
- X
- Type: Integer
The horizontal position at which to draw the image.
- Y
- Type: Integer
The vertical position at which to draw the image.
- Width
- Type: Integer
The width, in pixels, of the destination image.
- Height
- Type: Integer
The height, in pixels, of the destination image.
- Index
- Type: Integer
The index of the image in the ImageList to draw.