Dundas.SharePoint.Charting.WebParts Send comments on this topic.
DrawRectangle(Pen,Int32,Int32,Int32,Int32) Method
See Also 
Dundas.Charting.WebControl Namespace > ChartRenderingEngine Class > DrawRectangle Method : DrawRectangle(Pen,Int32,Int32,Int32,Int32) Method


pen
Pen object that determines the color, width, and style of the rectangle.
x
x-coordinate of the upper-left corner of the rectangle to draw.
y
y-coordinate of the upper-left corner of the rectangle to draw.
width
Width of the rectangle to draw.
height
Height of the rectangle to draw.
Draws a rectangle specified by a coordinate pair, a width, and a height.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub DrawRectangle( _
   ByVal pen As Pen, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer _
) 
Visual Basic (Usage) Copy Code
Dim instance As ChartRenderingEngine
Dim pen As Pen
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
 
instance.DrawRectangle(pen, x, y, width, height)
C#  
public void DrawRectangle( 
   Pen pen,
   int x,
   int y,
   int width,
   int height
)

Parameters

pen
Pen object that determines the color, width, and style of the rectangle.
x
x-coordinate of the upper-left corner of the rectangle to draw.
y
y-coordinate of the upper-left corner of the rectangle to draw.
width
Width of the rectangle to draw.
height
Height of the rectangle to draw.

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