Replaces any existing points in the specified ring with the specified points.

Namespace:  ESRI.ArcGISExplorer.Geometry
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public void SetRing(
	int ringIndex,
	IEnumerable<Point> points
)
Visual Basic (Declaration)
Public Sub SetRing ( _
	ringIndex As Integer, _
	points As IEnumerable(Of Point) _
)

Parameters

ringIndex
Type: System..::.Int32
The index of the ring to change.
points
Type: System.Collections.Generic..::.IEnumerable<(Of <(Point>)>)
A generic enumerable set of Point objects to set into the specified ring.

Remarks

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.

See Also

Relate Topics:
  AddPoint Method
  AddPoints Method
  AddRing Method
  Clone Method
  Close Method
  CreateFromXmlString Method
  GetLabelPoint Method
  GetPerimeter Method
  GetPoint Method
  GetRing Method
  GetRings Method
  GetXmlSchema Method
  InsertPoint Method
  InsertPoints Method
  InsertRing Method
  PointCount Method
  PointCountAllRings Method
  RemoveAllPoints Method
  RemovePointAt Method
  RemovePointsAt Method
  RemoveRing Method
  SetPoint Method
  SetPoints Method
  ToString Method
Created by Atop CHM to web converter,© 2009 all right reserved.