Dundas Chart for Windows Forms
FillRectangle(Brush,Single,Single,Single,Single) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > ChartGraphics Class > FillRectangle Method : FillRectangle(Brush,Single,Single,Single,Single) Method


brush
x
y
width
height
Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub FillRectangle( _
   ByVal brush As Brush, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As ChartGraphics
Dim brush As Brush
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
 
instance.FillRectangle(brush, x, y, width, height)
C#  
public void FillRectangle( 
   Brush brush,
   float x,
   float y,
   float width,
   float height
)

Parameters

brush
x
y
width
height

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.