MindFusion.Charting for WebForms Programmer's Guide
IGraphics.DrawImage Method (Image, PointF[], RectangleF, GraphicsUnit, ImageAttributes)
See Also
 



Draws the specified portion of the specified .NET Image object at the specified location and with the specified size.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

void DrawImage (
    Image image,
    PointF[] destPoints,
    RectangleF srcRect,
    GraphicsUnit srcUnit,
    ImageAttributes imageAttr
)

Visual Basic  Copy Code

Sub DrawImage( _
    image As Image, _
    destPoints() As PointF, _
    srcRect As RectangleF, _
    srcUnit As GraphicsUnit, _
    imageAttr As ImageAttributes _
)

 Parameters

image
A .NET Image object to draw.
destPoints
An array of three .NET PointF structures that define a parallelogram.
srcRect
A .NET RectangleF 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.
imageAttr
A .NET ImageAttributes object that specifies recoloring and gamma information for the image object.

 See Also

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