ArcObjects Library Reference  (Geometry)    

IPointCollection.ReplacePointCollection Method

Replaces vertices/points within a PointCollection.

[Visual Basic 6.0]
Sub ReplacePointCollection(
    ByVal Index As Long, _
    ByVal goingAway As Long, _
    ByVal newPoints As IPointCollection _
)
[Visual Basic .NET]
Public Sub ReplacePointCollection ( _
    ByVal Index As Integer, _
    ByVal goingAway As Integer, _
    ByVal newPoints As IPointCollection _
)
[C#]
public void ReplacePointCollection (
    int Index,
    int goingAway,
    IPointCollection newPoints
);
[Java]
public void replacePointCollection (
    int Index,
    int goingAway,
    IPointCollection newPoints
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ReplacePointCollection(
  long Index,
  long goingAway,
  IPointCollection* newPoints
);
[C++]

Parameters

Index

  Index is a parameter of type long

goingAway

  goingAway is a parameter of type long

newPoints

  newPoints is a parameter of type IPointCollection

Product Availability

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

Description

Replaces a specified number (goingAway) of Points in the PointCollection begining at a given index with a PointCollection of Points (inserted at the given index).

See Also

IPointCollection Interface

 


Feedback Send feedback on this page