MindFusion.Charting for WebForms Programmer's Guide
GdiGraphics.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

public virtual void DrawIconUnstretched (
    Icon icon,
    Rectangle targetRect
)

Visual Basic  Copy Code

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

GdiGraphics Members
GdiGraphics Class
MindFusion.Drawing Namespace