WebPlanner Programmer's Guide

IGraphics.DrawImage Method (Image, Int32, Int32, Int32, Int32)

See Also
 


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

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public abstract void DrawImage (
    Image image,
    int x,
    int y,
    int width,
    int height
)

Visual Basic  Copy Code

Public MustOverride Sub DrawImage ( _
    image As Image, _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer _
)

 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.
width
The width of the drawn image.
height
The height of the drawn image.

 See Also