This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPLine Interface > IGPLine.GetCoords Method (ArcObjects .NET 10.5 SDK) |
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