API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.DisplayCurve property
Returns a read-only curve object representing the current shape
Syntax:
Property Get DisplayCurve() As Curve
Remarks:
The DisplayCurve property returns a curve representing the current shape, letting you get a curve from a shape (such as a rectangle, ellipse, or polygon) without having to first convert the shape to a curve. The curve returned by this property is read-only, so you cannot modify it. However, you can retrieve a copy in memory by using the Curve.GetCopy method, after which you can modify the curve.
Examples:
The following VBA example creates a large circle and places 50 small circles along its path.
Sub Test()
Const Steps As Long = 50
Dim s As Shape, sp As SubPath
Dim x As Double, y As Double
Dim t As Double
Set s = ActiveLayer.CreateEllipse(0, 0, 5, 5)
For Each sp In s.DisplayCurve.Subpaths
  For t = 0 To Steps - 1

 sp.GetPointPositionAt x, y, t / Steps

 ActiveLayer.CreateEllipse2 x, y, 0.05
  Next t
Next sp 
End Sub