|ArcGIS Explorer Component Help|
|Polygon..::.SetPoint Method (Int32, Int32, Point)|
|Polygon Class See Also|
Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 126.96.36.1990 (188.8.131.520)
|Visual Basic (Declaration)|
Use this method to set a new Point into a specific ring within a multipart Polygon, by replacing an existing Point (instead of using RemovePointAt followed by InsertPoint); the new point will have the specified ringIndex and pointIndex and all other existing points in the Polygon remain the same.
Note that the CoordinateSystem property of any new points added, inserted or set into existing an existing Polygon or Polyline will be discarded, and the coordinates (X and Y properties) of the point assumed to be in the same CoordinateSystem as the Polygon or Polyline to which they are added.
|System..::.ArgumentOutOfRangeException||The specified pointIndex must exist in the specified ringIndex in the Polygon.|