This document is archived and information here might be outdated.  Recommended version.


IPointCollectionTracker.FindNodeIndex Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IP > IPointCollectionTracker Interface > IPointCollectionTracker.FindNodeIndex Method
ArcGIS Developer Help

IPointCollectionTracker.FindNodeIndex Method

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
);
[C++]
Parameters
cursorPosition [in]

cursorPosition is a parameter of type IPoint*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IPointCollectionTracker Interface