Search
IGraphics.DrawImage Method (ImageSource, Rectangle, ImageAlignment, Double, Point)
See Also
 






Draws the image represented by the specified ImageSource object at the specified location, with the specified alignment and rotation.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

void DrawImage (
    ImageSource image,
    Rectangle rect,
    ImageAlignment imageAlign,
    double rotationAngle,
    Point pivot
)

Visual Basic  Copy Code

Sub DrawImage( _
    image As ImageSource, _
    rect As Rectangle, _
    imageAlign As ImageAlignment, _
    rotationAngle As Double, _
    pivot As Point _
)

 Parameters

image

An ImageSource representing the image to draw.

rect

A Rectangle structure that specifies the location and size of the drawn image.

imageAlign

The alignment of the image within the specified rectangle.

rotationAngle

The rotation angle of the drawn image.

pivot

The pivot of the rotation.

 See Also