Xceed SmartUI for WinForms v3.6 Documentation
FillRectangle Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartPaint Class : FillRectangle Method
A System.Drawing.Color structure representing the color that will be used to fill the rectangle.
A System.Drawing.Rectangle structure representing the rectangle to fill.
Fills the interior of the rectangle with the specified color.
Syntax
'Declaration
 
Public Sub FillRectangle( _
   ByVal color As Color, _
   ByVal rectangle As Rectangle _
) 
'Usage
 
Dim instance As SmartPaint
Dim color As Color
Dim rectangle As Rectangle
 
instance.FillRectangle(color, rectangle)
public void FillRectangle( 
   Color color,
   Rectangle rectangle
)

Parameters

color
A System.Drawing.Color structure representing the color that will be used to fill the rectangle.
rectangle
A System.Drawing.Rectangle structure representing the rectangle to fill.
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