ArcObjects Library Reference (DefenseSolutions)  

GeoPolygonElement CoClass

The graphic element for displaying GeoPolygons.

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IBoundsProperties (esriCarto) Provides access to members that control Bounds Properties.
IClone (esriSystem) Provides access to members that control cloning of objects.
IElement (esriCarto) Provides access to members that control the Element.
IElementProperties (esriCarto) Provides access to members that control the Element Properties.
IElementProperties2 (esriCarto) Provides access to members that control More Element Properties.
IFillShapeElement (esriCarto) Provides access to members that control the Fill Shape element.
IGeoPolygonElement Indicator interface that identifies a GeoPolygonElement.
IGraphicElement (esriCarto) Provides access to members that control the Graphic Element object.
IPersist Defines the single method GetClassID, which is designed to supply the CLSID of an object that can be stored persistently in the system. IPersist is the base interface for three other interfaces: IPersistStorage, IPersistStream, and IPersistFile.
IPersistStream (esriSystem)
IPolygonElement (esriCarto) Indicator interface that identifies a Polygon element.
IPropertySupport (esriSystem) Provides access to members that set a default property on an object.
ITransform2D (esriGeometry) Provides access to methods for transforming geometries using either specific parameters or arbitrary transformation objects (affine transformations, geographic transformations, etc.).

Remarks

A GeoPolygonElement is a type of element that supports GeoPolygons.  Use this object when you want to create and manipulate GeoPolygon graphics on the map. It is a dynamic element, in the sense that its shape updates automatically when it is moved from one location to another.

The following VB snippet illustrates how to create a GeoPolygonElement.

Dim pGeoPolygon As IGeoPolygon
Dim pPolygonElement As IElement
Set pGeoPolygon = New GeoPolygon
Set pPolygonElement = New GeoPolygonElement
pPolygonElement.Geometry = pGeoPolygon