API Documentation > CorelDRAW > 2025-v26 > Curve > IVGCurve
Curve.FindClosestSegment method
Finds a segment closest to the specified point
Syntax:
Function FindClosestSegment(ByVal x As Double, ByVal y As Double, ByRef ParamOffset As Double) As Segment
Parameters:
Name Type Description
x
Double
y
Double
ParamOffset
Double
Remarks:
The FindClosestSegment method finds a segment closest to a specified point.