Draw the image indicated by the given index using the location, size and raster op code specified. The image is stretched or compressed as necessary to fit the bounds provided.
[Visual Basic] Public Sub DrawImage( _ ByVal g As Graphics, _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal rop As Integer, _ ByVal index As Integer _ ) [C#] public void DrawImage( Graphics g, int x, int y, int width, int height, int rop, int index ); [C++] public: void DrawImage( Graphics* g, int x, int y, int width, int height, int rop, int index ); [JScript] public function DrawImage( g : Graphics, x : int, y : int, width : int, height : int, rop : int, index : int );
ImageList Class | ImageList Members | System.WinForms Namespace