ArcObjects Library Reference  (Geometry)    

IGeometryBridge.SetPoints Method

Replaces all existing vertices of this Path, Ring, Polyline, or Polygon with copies of the input points; or all existing points of this Multipoint, Triangles, TriangleFan, or TriangleStrip with references to the input points.

[Visual Basic 6.0]
Sub SetPoints(
    ByVal pPointCollection As IPointCollection4, _
    ByVal newPoints() As IPoint _
)
[Visual Basic .NET]
Public Sub SetPoints ( _
    ByVal pPointCollection As IPointCollection4, _
    ByRef newPoints As IPoint[] _
)
[C#]
public void SetPoints (
    IPointCollection4 pPointCollection,
    ref IPoint[] newPoints
);
[Java]
public void setPoints (
    IPointCollection4 pPointCollection,
    IPoint[] newPoints
)
throws
    IOException,
    AutomationException
[C++]
HRESULT SetPoints(
  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::SetPoints .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_SetPoints_Example