| Visual Basic (Declaration) | |
|---|---|
Sub DrawArc( _ ByVal cornerPen As Pen, _ ByVal x As Single, _ ByVal y As Single, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal startAngle As Integer, _ ByVal sweepAngle As Integer _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As IBorderGraphics Dim cornerPen As Pen Dim x As Single Dim y As Single Dim width As Integer Dim height As Integer Dim startAngle As Integer Dim sweepAngle As Integer instance.DrawArc(cornerPen, x, y, width, height, startAngle, sweepAngle)  | |
| C# | |
|---|---|
void DrawArc( Pen cornerPen, float x, float y, int width, int height, int startAngle, int sweepAngle )  | |
Parameters
- cornerPen
 - Corner pen
 - x
 - X coordinate
 - y
 - Y coordinate
 - width
 - Width
 - height
 - Height
 - startAngle
 - Start angle
 - sweepAngle
 - Sweep angle
 
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8