API Documentation > CorelDRAW > 2025-v26 > Ellipse > IVGEllipse
Ellipse.StartAngle property
Gets or sets the ellipse's start angle
Syntax:
Property Get StartAngle() As Double
Property Let StartAngle(ByVal Value As Double)
Remarks:
The StartAngle property returns or specifies the start angle of an arc or pie.
Examples:
The following VBA example sets the start angle of the pie or arc to be 90° greater than its end angle (making sure that the angle does not exceed the limit of 360°).
Sub Test()
Dim s As Shape
Dim a As Double
Set s = ActiveShape
If s.Type = cdrEllipseShape Then
  a = s.Ellipse.EndAngle + 90
  If a >= 360 Then a = a - 360 * Fix(a / 360)

 s.Ellipse.StartAngle = a
  End If

End Sub