This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.ReplacePointCollection Method (ArcObjects .NET 10.5 SDK) |
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
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).