ArcObjects Library Reference (Geometry)  

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