Returns the point nearest to the Points collection from the input point.
object.NearestPoint ( pIPoint [,Method] ) |
- pIPoint
- Required. A Point object that represents the point to search from.
- Method
- Optional. A Long that specifies the search method.
Method is a long specifying the search method to use. The following methods are supported:
0 (default) - Return the closest vertex.
1 - Return the closest point that is polyline perpendicular to the input point.
0 (default) - Return the closest vertex.
1 - Return the closest point that is polyline perpendicular to the input point.