| Visual Basic (Declaration) | |
|---|---|
Public NotInheritable Class Polygon Inherits Geometry Implements IBorgGeometry, IBoundable, IGeometry, IGeometryConstruction | |
| C# | |
|---|---|
public sealed class Polygon : Geometry, IBorgGeometry, IBoundable, IGeometry, IGeometryConstruction | |
An example showing add a shell and a hole to a polygon.
| C# | Copy Code |
|---|---|
// creates a new polygon | |
Represents a collection of rings ordered by their containment relationship. The rings do not need to be connected to or contained by other rings in the polygon.
A ring is a shell if coordinates are organized in clockwise order, otherwise is a hole.

ESRI.ArcGIS.Mobile.Geometries.Geometry
ESRI.ArcGIS.Mobile.Geometries.Polygon
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


~205.gif)
~205.gif)



~205.gif)