A copy of the ith vertex of a Path, Ring, Polyline, or Polygon; or a reference to the ith point of a Multipoint, TriangleFan, or TriangleStrip.
[Visual Basic .NET] Public Function get_Point ( _ ByVal i As Integer _ ) As IPoint
[C#] public IPoint get_Point ( int i );
[C++]
HRESULT get_Point(
long i,
IPoint** Point
);
[C++]Parameters
i i is a parameter of type long Point [out, retval]Point is a parameter of type IPoint
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Gets the ith Point from the PointCollection. The first Point in the PointCollection has index 0, and the last Point has index equal to PointCount - 1. (Alternatively, the last Point in the PointCollection can be referenced using index -1.).
Remarks
Note: Since a copy of the point is returned by Point (get_Point) for path, ring, polyline and polygon the IPointCollection::UpdatePoint method must be used to update points on those geometry types.