Search
IGraphics.DrawIcon Method (Icon, Rectangle)
See Also
 





Draws the image represented by the specified .NET Icon object within the area specified by a Rectangle structure.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

void DrawIcon (
    Icon icon,
    Rectangle targetRect
)

Visual Basic  Copy Code

Sub DrawIcon( _
    icon As Icon, _
    targetRect As 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.

 See Also