API Documentation > CorelDRAW > 2025-v26 > BSpline > IVGBSpline
BSpline.InsertControlPoint method
Inserts a control point before the one at the given index
Syntax:
Sub InsertControlPoint(ByVal Index As Long, ByVal x As Double, ByVal y As Double, ByVal Clamped As Boolean)
Parameters:
Name Type Description
Index
Long
x
Double
y
Double
Clamped
Boolean
Remarks:
The InsertControlPoint method inserts one control point before the one at the given index number on a B-spline (or BSpline object).