ESRI.ArcGIS.ADF.IMS
Rings Property
See Also  Send Feedback
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."

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.