This document is archived and information here might be outdated.  Recommended version.


IPointCollection.InsertPointCollection Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.InsertPointCollection Method
ArcGIS Developer Help

IPointCollection.InsertPointCollection Method

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*

Product Availability

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

Description

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.

See Also

IPointCollection Interface