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