Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 220.127.116.110 (18.104.22.1680)
|Visual Basic (Declaration)|
RemovePointAt removes the Point at the specified index position from the specified ring within the Polygon; points with an index position greater than pointIndex will have their index position reduced by 1, and all other existing rings within the Polygon remain unchanged. Removing a Point from a ring changes the shape of the ring, so that the two points either side of pointIndex will be directly connected.
Note, if either the first or last Point is removed from a closed Polygon ring, the Polygon no longer describes a closed shape; refer to the Close()()() or Simplify(Polygon) for options to rectify this. Note also that changing the shape of a ring in a multipart Polygon may result in rings intersecting each other or themselves; again, refer to the Simplify(Polygon) method for more information.
|System..::.ArgumentOutOfRangeException||The specified pointIndex and ringIndex must exist in the Polygon.|