ESRI.ArcGIS.ADF.IMS
Rings Property
See Also 
ESRI.ArcGIS.ADF.IMS.Geometry Namespace > Polygon Class : Rings Property




Gets or sets the collection of Rings.

Syntax

Visual Basic (Declaration) 
Public Property Rings As RingCollection
Visual Basic (Usage)Copy Code
Dim instance As Polygon
Dim value As RingCollection
 
instance.Rings = value
 
value = instance.Rings
C# 
public RingCollection Rings {get; set;}

Example

For an example, see the Polygon overview.

Remarks

A Polygon consists of one or more Ring objects. For example, a chain of islands (e.g., Hawaii) may be represented by a single polgyon object with several rings, one ring per island.

At least one Ring must be added to a Polygon before the Polygon is used in a map or query. This ArcXML error will be returned if no rings have been added: "AXLParser: No OBJECT tags found in LAYER."

See Also

© 2010 All Rights Reserved.