ArcObjects Library Reference (Geometry)  

IPointCollection.InsertPoints Method

Inserts copies of the input points as vertices into a Path, Ring, Polyline, or Polygon; or references to the input points into a Multipoint, TriangleFan, or TriangleStrip. This method is intended for internal use only.

[Visual Basic .NET]
Public Sub InsertPoints ( _
    ByVal Index As Integer, _
    ByVal Count As Integer, _
    ByRef newPoints As IPoint _
)
[C#]
public void InsertPoints (
    int Index,
    int Count,
    ref IPoint newPoints
);
[C++]
HRESULT InsertPoints(
  long Index,
  long Count,
  IPoint** newPoints
);
[C++]

Parameters

Index   Index is a parameter of type long Count   Count is a parameter of type long newPoints [in]

  newPoints is a parameter of type IPoint

Product Availability

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

Description

Inserts a specified number (Count) of Points into the PointCollection at the given index from an array of Points.  The first Count points from the array are inserted.

[C#]

When using C# you must use the IGeometryBridge interface to call this method.

[Visual Basic .NET]

When using VBNET you must use the IGeometryBridge interface to call this method.

See Also

IPointCollection Interface