ActiveReports 9
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 System.Single, _
   ByVal y As System.Single, _
   ByVal srcRectangle As RectangleFEx, _
   ByVal srcUnit As GraphicsUnitEx _
) 
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

Reference

IDrawingCanvas Interface
IDrawingCanvas Members
Overload List

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum