This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.InsertPointCollection Method (ArcObjects .NET 10.4 SDK) |
Inserts copies of points, from the input point collection, as vertices into this Path, Ring, Polyline, or Polygon; or references to points in the input point collection into this Multipoint, TriangleFan, or TriangleStrip.
[Visual Basic .NET] Public Sub InsertPointCollection ( _ ByVal Index As Integer, _ ByVal newPoints As IPointCollection _ )
[C#] public void InsertPointCollection ( int Index, IPointCollection newPoints );
[C++]
HRESULT InsertPointCollection(
long Index,
IPointCollection* newPoints
);
[C++]
Parameters Index Index is a parameter of type long newPoints
newPoints is a parameter of type IPointCollection
Inserts a PointCollection of Points into the PointCollection at the specified index. The resulting PointCollection does not retain information about the distinction between the old and new Point Collections.