API Documentation > CorelDRAW > 2025-v26 > Curve > IVGCurve
Curve.FindSegmentAtPoint method
Finds a segment along the path at the specified point
Syntax:
Function FindSegmentAtPoint(ByVal x As Double, ByVal y As Double, ByRef ParamOffset As Double, Optional ByVal HotArea As Double = -1) As Segment
Parameters:
Name Type Description
x
Double
y
Double
ParamOffset
Double
HotArea
Double
Specifies a restricted area on the curve in which to evaluate the position of a point.
Remarks:
The FindSegmentAtPoint method finds a segment along a path at a specified point.