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 6.0] Property Point(
ByVal i As Long _
) As IPoint
[Visual Basic .NET] Public Function get_Point ( _ ByVal i As Integer _ ) As IPoint
[C#] public IPoint get_Point ( int i );
[Java] public IPoint getPoint ( Long i )
[C++] HRESULT get_Point( long i, IPoint** Point );
Parameters
i
i is a parameter of type long
Point [out, retval]
Point is a parameter of type IPoint
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.).
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.