Finds the node index for the vertex under the given point. Returns -1 if the point is not within the tolerance distance of a vertex in the point collection.
[Visual Basic .NET] Public Function FindNodeIndex ( _ ByVal cursorPosition As IPoint _ ) As Integer
[C#] public int FindNodeIndex ( IPoint cursorPosition );
[C++]
HRESULT FindNodeIndex(
IPoint* cursorPosition,
long* nodeIndex
);
[C++]Parameters
cursorPosition [in]cursorPosition is a parameter of type IPoint
nodeIndex [out, retval] nodeIndex is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.