Charting for WinForms Programmer's Guide
IGraphics.DrawIconUnstretched Method
See Also
 






Draws the image represented by the specified .NET Icon object without scaling the image.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawIconUnstretched (
    Icon icon,
    Rectangle targetRect
)

Visual Basic  Copy Code

Sub DrawIconUnstretched( _
    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. The image is not scaled to fit this rectangle, but retains its original size. If the image is larger than the rectangle, it is clipped to fit inside it.

 See Also

IGraphics Members
IGraphics Interface
MindFusion.Drawing Namespace