LineGeometry.NearestPoint Method
Returns the point along the LineGeometry that is closest to the specified Point.
NearestPoint(Point point)
Returns the point along the LineGeometry that is closest to the specified Point.Syntax
public Point NearestPoint (
Point point
)
Parameters
The point to find the nearest point for.
Return Value
The point along the line that is closest to point.
Remarks
This method operates on 2D geometries and all z-coordinate values are ignored.
Platforms
Windows, Linux, Android