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.
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