ActiveReports 10
DrawImage(ImageEx,Single,Single,RectangleFEx,GraphicsUnitEx) Method

GrapeCity.ActiveReports.Extensibility.v10 Assembly > GrapeCity.ActiveReports.Extensibility.Rendering.Drawing Namespace > IDrawingCanvas Interface > DrawImage Method : DrawImage(ImageEx,Single,Single,RectangleFEx,GraphicsUnitEx) Method
Image to draw.
The x-coordinate of the upper-left corner of the drawn image.
The y-coordinate of the upper-left corner of the drawn image.
RectangleFEx structure that specifies the portion of the Image to draw.
Member of the GraphicsUnitEx enumeration that specifies the units of measure used by the srcRectangle parameter.
Draws a portion of an image at a specified location.
Syntax
'Declaration
 
Overloads Sub DrawImage( _
   ByVal image As ImageEx, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal srcRectangle As RectangleFEx, _
   ByVal srcUnit As GraphicsUnitEx _
) 
void DrawImage( 
   ImageEx image,
   float x,
   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

Reference

IDrawingCanvas Interface
IDrawingCanvas Members
Overload List