API Documentation > CorelDRAW > 2025-v26 > Layer > IVGLayer
Layer.CreateEllipseRect method
Creates an ellipse shape by using the rectangular area specified
Syntax:
Function CreateEllipseRect(ByVal Rect As Rect, Optional ByVal StartAngle As Double = 90, Optional ByVal EndAngle As Double = 90, Optional ByVal Pie As Boolean = False) As Shape
Parameters:
Name Type Description
Rect
StartAngle
Double
Specifies the degree of the start angle for the ellipse.
EndAngle
Double
Specifies the degree of the end angle for the ellipse.
Pie
Boolean
Specifies whether the ellipse is a pie.
Remarks:
The CreateEllipseRect method creates an ellipse, at a specified location on a layer, by using the rectangular area specified.