ArcObjects Library Reference  (Geometry)    

IGeometryBridge.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, Triangles, TriangleFan, or TriangleStrip.

[Visual Basic 6.0]
Sub InsertPoints(
    ByVal pPointCollection As IPointCollection4, _
    ByVal Index As Long, _
    ByVal newPoints() As IPoint _
)
[Visual Basic .NET]
Public Sub InsertPoints ( _
    ByVal pPointCollection As IPointCollection4, _
    ByVal Index As Integer, _
    ByRef newPoints As IPoint[] _
)
[C#]
public void InsertPoints (
    IPointCollection4 pPointCollection,
    int Index,
    ref IPoint[] newPoints
);
[Java]
public void insertPoints (
    IPointCollection4 pPointCollection,
    int Index,
    IPoint[] newPoints
)
throws
    IOException,
    AutomationException
[C++]
HRESULT InsertPoints(
  IPointCollection4* pPointCollection,
  long Index,
  Array* newPoints
);
[C++]

Parameters

pPointCollection [in]

  pPointCollection is a parameter of type IPointCollection4

Index

  Index is a parameter of type long

newPoints [in]

  newPoints is a parameter of type Array

Product Availability

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

Description

All development languages compatible version of IPointCollection::InsertPoints .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_InsertPoints_Example