MindFusion.Charting for WebForms Programmer's Guide
IGraphics.DrawImage Method (Image, Int32, Int32, Rectangle, GraphicsUnit)
See Also
 



Draws a portion of an image at a specified location.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawImage (
    Image image,
    int x,
    int y,
    Rectangle srcRect,
    GraphicsUnit srcUnit
)

Visual Basic  Copy Code

Sub DrawImage( _
    image As Image, _
    x As Integer, _
    y As Integer, _
    srcRect As Rectangle, _
    srcUnit As GraphicsUnit _
)

 Parameters

image
A .NET Image object to draw.
x
The x-coordinate of the upper-left corner of the drawn image.
y
The y-coordinate of the upper-left corner of the drawn image.
srcRect
A .NET Rectangle structure that specifies the portion of the image object to draw.
srcUnit
Member of the .NET GraphicsUnit enumeration that specifies the units of measure used by the srcRect parameter.

 See Also

DrawImage Method Overload List
IGraphics Members
IGraphics Interface
MindFusion.Drawing Namespace