ActiveReports Developer 7
DrawImage(ImageEx,Single,Single,RectangleFEx,GraphicsUnitEx) Method
See Also 
GrapeCity.ActiveReports.Extensibility.v7 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Drawing Namespace > IDrawingCanvas Interface > DrawImage Method : DrawImage(ImageEx,Single,Single,RectangleFEx,GraphicsUnitEx) Method

image
Image 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.
srcRectangle
RectangleFEx structure that specifies the portion of the Image to draw.
srcUnit
Member of the GraphicsUnitEx enumeration that specifies the units of measure used by the srcRectangle parameter.

Glossary Item Box

Draws a portion of an image at a specified location.

Syntax

Visual Basic (Declaration) 
Overloads Sub DrawImage( _
   ByVal image As ImageEx, _
   ByVal x As System.Single, _
   ByVal y As System.Single, _
   ByVal srcRectangle As RectangleFEx, _
   ByVal srcUnit As GraphicsUnitEx _
) 
C# 
void DrawImage( 
   ImageEx image,
   System.float x,
   System.float y,
   RectangleFEx srcRectangle,
   GraphicsUnitEx srcUnit
)

Parameters

image
Image 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.
srcRectangle
RectangleFEx structure that specifies the portion of the Image to draw.
srcUnit
Member of the GraphicsUnitEx enumeration that specifies the units of measure used by the srcRectangle parameter.

See Also