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


IGPLine.GetCoords Method (ArcObjects .NET 10.6 SDK)
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,
  System.Double* X,
  System.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