ArcObjects Library Reference (Geoprocessing)  

IGPLine.GetCoords Method

Returns the x/y coordinates of the point at the given index.

[Visual Basic .NET]
Public Sub GetCoords ( _
    ByVal Index As Integer, _
    ByRef X As Double, _
    ByRef Y As Double _
)
[C#]
public void GetCoords (
    int Index,
    ref double X,
    ref double Y
);
[C++]
HRESULT GetCoords(
  long Index,
  double* X,
  double* Y
);
[C++]

Parameters

Index [in]   Index is a parameter of type long X [out]   X is a parameter of type double Y [out]   Y is a parameter of type double

Product Availability

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

See Also

IGPLine Interface