API Documentation
>
CorelDRAW
>
2025-v26
>
MathUtils
>
IVGMathUtils
MathUtils.FitLineToPoints method
Fits a line to an array of points
Syntax:
Sub
FitLineToPoints
(
ByVal
Points
As
PointRange
,
ByRef
Origin
As
Point
,
ByRef
Direction
As
Vector
)
Parameters:
Name
Type
Description
Points
PointRange
Origin
Point
Direction
Vector