API Documentation > CorelDRAW > 2025-v26 > Segment > IVGSegment
Segment.StartingControlPointLength property
Gets or sets the length of the control point of the starting node (in the document's units)
Syntax:
Property Get StartingControlPointLength() As Double
Property Let StartingControlPointLength(ByVal Value As Double)
Remarks:
The StartingControlPointLength property returns or specifies the length, in document units, of the control-point vector beginning of a curve.
Examples:
The following VBA example sets the starting and ending control-point length for the first segment in the active shape.
Sub App()
With ActiveShape.Curve.Segments(1)
  .StartingControlPointLength = 5
  .EndingControlPointLength = 5
End With 
End Sub