API Documentation > CorelDRAW > 2025-v26 > SubPath > IVGSubPath
SubPath.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 subpath in which to evaluate the position of the point
Remarks:
The FindNodeAtPoint method finds a segment on a subpath at the specified point.