Charting for WinForms Programmer's Guide
GdiGraphics.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
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void DrawIcon (
    Icon icon,
    Rectangle targetRect
)

Visual Basic  Copy Code

Public Overridable 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

DrawIcon Method Overload List
GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace