API Documentation > CorelDRAW > 2025-v26 > Curve > IVGCurve
Curve.PutCurveInfo method
Replaces the current curve with node information provided
Syntax:
Function PutCurveInfo(ByRef Source() As CurveElement, Optional ByVal NumElements As Long = -1) As Long
Parameters:
Name Type Description
Source
NumElements
Long
Specifies the number of valid curve elements to use. If nothing is specified, then all valid curve elements are used.
Remarks:
The PutCurveInfo method replaces the current curve with specified node information.