ArcObjects Library Reference  (Geometry)    

IGeometryBridge.ReplacePoints Method

Replaces vertices/points within a PointCollection.

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

Parameters

pPointCollection [in]

  pPointCollection is a parameter of type IPointCollection4

Index

  Index is a parameter of type long

goingAway

  goingAway 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::ReplacePoints .

See Also

IGeometryBridge Interface

Example

IGeometryBridge_ReplacePoints_Example