Xceed SmartUI for WinForms v3.6 Documentation
DrawBitmap Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartPaint Class : DrawBitmap Method
A reference to System.Drawing.Image representing the image to draw.
The x-coordinate at which to draw the bitmap.
The y-coordinate at which to draw the bitmap.
Draws the bitmap at the specified coordinates.
Syntax
'Declaration
 
Public Sub DrawBitmap( _
   ByVal image As Image, _
   ByVal x As Integer, _
   ByVal y As Integer _
) 
'Usage
 
Dim instance As SmartPaint
Dim image As Image
Dim x As Integer
Dim y As Integer
 
instance.DrawBitmap(image, x, y)
public void DrawBitmap( 
   Image image,
   int x,
   int y
)

Parameters

image
A reference to System.Drawing.Image representing the image to draw.
x
The x-coordinate at which to draw the bitmap.
y
The y-coordinate at which to draw the bitmap.
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

SmartPaint Class
SmartPaint Members