API Documentation
>
CorelDRAW
>
2025-v26
>
MathUtils
>
IVGMathUtils
MathUtils.ClosestPointToLineSegment method
Find the closest point to a line segment, returns the closest endpoint if none are found
Syntax:
Function
ClosestPointToLineSegment
(
ByVal
S
As
Point
,
ByVal
E
As
Point
,
ByVal
Point
As
Point
)
As
Point
Parameters:
Name
Type
Description
S
Point
E
Point
Point
Point