Spread Windows Forms 9.0 Product Documentation
DrawArc Method


Corner pen
X-coordinate
Y-coordinate
Width
Height
Start angle
Sweep angle
Draws the arc.
Syntax
'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 _
) 
'Usage
 
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)
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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

IBorderGraphics Interface
IBorderGraphics Members

 

 


Copyright © GrapeCity, inc. All rights reserved.