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


IGPPolygon.GetCoords Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

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,
  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

IGPPolygon Interface