API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.Ellipse property
Allows users to access the ellipse properties
Syntax:
Property Get Ellipse() As Ellipse
Remarks:
The Ellipse property returns an Ellipse object that represents the settings for an ellipse shape.
Examples:
The following VBA example converts all ellipses on the current page into pies.
Sub Test()
Dim s As Shape
For Each s In ActivePage.Shapes
  If s.Type = cdrEllipseShape Then

 With s.Ellipse


.StartAngle = 0


.EndAngle = 90


.Clockwise = True


.Type = cdrPie

 End With
  End If
Next s 
End Sub