API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.CreateCurveFitToPointsAndCusps method
Creates a curve fitted to an array of points, using indices of points to determine cusps
Syntax:
Function CreateCurveFitToPointsAndCusps(ByVal Points As PointRange, ByRef CuspIndexArray() As Long, Optional ByVal UseCurrentViewForTolerance As Boolean = True, Optional ByVal tolerance As Double = 0) As Curve
Parameters:
Name Type Description
Points
CuspIndexArray
Long
UseCurrentViewForTolerance
Boolean
tolerance
Double