ArcObjects Library Reference (Geometry)  

IPointCollection.ReplacePointCollection Method

Replaces vertices/points within a PointCollection.

[Visual Basic .NET]
Public Sub ReplacePointCollection ( _
    ByVal Index As Integer, _
    ByVal goingAway As Integer, _
    ByVal newPoints As IPointCollection _
)
[C#]
public void ReplacePointCollection (
    int Index,
    int goingAway,
    IPointCollection newPoints
);
[C++]
HRESULT ReplacePointCollection(
  long Index,
  long goingAway,
  IPointCollection* newPoints
);
[C++]

Parameters

Index   Index is a parameter of type long goingAway   goingAway is a parameter of type long newPoints

  newPoints is a parameter of type IPointCollection

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Replaces a specified number (goingAway) of Points in the PointCollection begining at a given index with a PointCollection of Points (inserted at the given index).

See Also

IPointCollection Interface