'Declaration
Public Sub Draw( _ ByVal graphics As System.Drawing.Graphics, _ ByVal destRect As System.Drawing.Rectangle _ )
'Usage
Dim instance As Image Dim graphics As System.Drawing.Graphics Dim destRect As System.Drawing.Rectangle instance.Draw(graphics, destRect)
Parameters
- graphics
- Specifies the GDI+ drawing surface to draw to.
- destRect
- Specifies the location and size to draw to (the size of this rectangle must match the size returned by GetSize).