Replaces vertices/points within a PointCollection.
[Visual Basic 6.0] Sub ReplacePoints(
ByVal Index As Long, _
ByVal comingIn As Long, _
ByVal goingAway As Long, _
newPoints As IPoint _
)
[Visual Basic .NET] Public Sub ReplacePoints ( _ ByVal Index As Integer, _ ByVal comingIn As Integer, _ ByVal goingAway As Integer, _ ByRef newPoints As IPoint _ )
[C#] public void ReplacePoints ( int Index, int comingIn, int goingAway, ref IPoint newPoints );
[Java] public void replacePoints ( int Index, int comingIn, int goingAway, IPoint newPoints ) throws IOException, AutomationException
[C++] HRESULT ReplacePoints( long Index, long comingIn, long goingAway, IPoint** newPoints );
Parameters
Index
Index is a parameter of type long
comingIn
comingIn is a parameter of type long
goingAway
goingAway is a parameter of type long
newPoints [in]
newPoints is a parameter of type IPoint
Removes a specified number (goingAway) of Points from a PointCollection starting at a given index and replaces them (starting at the same index) with a specified number (comingIn) of Points from an array of Points.
If you are using attempting to use this method from a .NET enabled language, such as VB.NET, you may need to use the ReplacePoints method provided by the IGeometryBridge interface exposed on the GeometryEnvironment object.
When using C# you must use the IGeometryBridge interface to call this method.
When using VBNET you must use the IGeometryBridge interface to call this method.