|ArcGIS Explorer Component Help|
|Polyline..::.RemovePointAt Method (Int32, Int32)|
|Polyline Class See Also|
Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 126.96.36.1990 (188.8.131.520)
|Visual Basic (Declaration)|
RemovePointAt removes the Point at the specified index position from the specified path within the Polyline; points with an index position greater than pointIndex will have their index position reduced by 1, and all other existing paths within the Polyline remain unchanged. Removing a Point from a path changes the shape of the path, so that the two points either side of pointIndex will be directly connected.
Note that changing the shape of a path in a multipart Polyline may result in paths intersecting or overlapping each other or themselves; refer to the Simplify(Polyline) method for more information about removing such sections.
|System..::.ArgumentOutOfRangeException||The specified pointIndex and pathIndex must exist in the Polyline.|