Dundas Chart for Windows Forms
DrawPie Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > ChartGraphics Class : DrawPie Method


pen
x
y
width
height
startAngle
sweepAngle
Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, and a height and two radial lines.

Syntax

Visual Basic (Declaration)  
Public Sub DrawPie( _
   ByVal pen As Pen, _
   ByVal x As Single, _
   ByVal y As Single, _
   ByVal width As Single, _
   ByVal height As Single, _
   ByVal startAngle As Single, _
   ByVal sweepAngle As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As ChartGraphics
Dim pen As Pen
Dim x As Single
Dim y As Single
Dim width As Single
Dim height As Single
Dim startAngle As Single
Dim sweepAngle As Single
 
instance.DrawPie(pen, x, y, width, height, startAngle, sweepAngle)
C#  
public void DrawPie( 
   Pen pen,
   float x,
   float y,
   float width,
   float height,
   float startAngle,
   float sweepAngle
)

Parameters

pen
x
y
width
height
startAngle
sweepAngle

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.