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


IGPPolygon.GetCoords Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPPolygon Interface > IGPPolygon.GetCoords Method
ArcGIS Developer Help

IGPPolygon.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

IGPPolygon Interface