Xceed SmartUI for WinForms v3.6 Documentation
DrawImage(Rectangle,Boolean) Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartPaint Class > DrawImage Method : DrawImage(Rectangle,Boolean) Method
A System.Drawing.Rectangle structure representing the rectangle in which to draw the image.
true if the image should be drawn disabled; false otherwise.
Draws the image that corresponds to ImageIndex in the specified rectangle with an enabled or disabled state.
Syntax
'Declaration
 
Public Overloads Sub DrawImage( _
   ByVal rectangle As Rectangle, _
   ByVal disabled As Boolean _
) 
'Usage
 
Dim instance As SmartPaint
Dim rectangle As Rectangle
Dim disabled As Boolean
 
instance.DrawImage(rectangle, disabled)
public void DrawImage( 
   Rectangle rectangle,
   bool disabled
)

Parameters

rectangle
A System.Drawing.Rectangle structure representing the rectangle in which to draw the image.
disabled
true if the image should be drawn disabled; false otherwise.
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
Overload List