ActiveReports 8
DrawImage(ImageEx,Single,Single,RectangleFEx,GraphicsUnitEx) Method
See Also 
GrapeCity.ActiveReports.Extensibility.v8 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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also