ArcObjects Library Reference  (Geometry)    

IGeometryBridge.AddPoints Method

Adds copies of the input points as vertices to this Path, Ring, Polyline, or Polygon; or references to the input points to this Multipoint, Triangles, TriangleFan, or TriangleStrip.

[Visual Basic 6.0]
Sub AddPoints(
    ByVal pPointCollection As IPointCollection4, _
    ByVal newPoints() As IPoint _
)
[Visual Basic .NET]
Public Sub AddPoints ( _
    ByVal pPointCollection As IPointCollection4, _
    ByRef newPoints As IPoint[] _
)
[C#]
public void AddPoints (
    IPointCollection4 pPointCollection,
    ref IPoint[] newPoints
);
[Java]
public void addPoints (
    IPointCollection4 pPointCollection,
    IPoint[] newPoints
)
throws
    IOException,
    AutomationException
[C++]
HRESULT AddPoints(
  IPointCollection4* pPointCollection,
  Array* newPoints
);
[C++]

Parameters

pPointCollection [in]

  pPointCollection is a parameter of type IPointCollection4

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::AddPoints .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_AddPoints_Example