ImageList.Draw Method (Graphics, Int32, Int32, Int32, Int32, Int32)
Draws the image indicated by the given index on the specified Graphics using the specified location and size.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Public Sub Draw ( g As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, index As Integer )
The horizontal position at which to draw the image.
The vertical position at which to draw the image.
The width, in pixels, of the destination image.
The height, in pixels, of the destination image.
The index is less than 0.
The index is greater than or equal to the count of images in the image list.
The image is stretched or compressed as necessary to fit the bounds provided.
Available since 1.1