Sub DrawIcon( _ iconAs Icon, _ targetRectAs Rectangle _ )
Parameters
icon
A .NET Icon object to draw.
targetRect
A .NET Rectangle structure that specifies the location and size of the resulting image on the display surface. The image contained in the icon parameter is scaled to the dimensions of this rectangular area.