API Documentation > CorelDRAW > 2025-v26 > SubPath > IVGSubPath
SubPath.PutCurveInfo method
Replaces the current subpath 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 elements to use. If nothing is specified, then all valid elements are used.
Remarks:
The PutCurveInfo method replaces the current subpath with specified node information.