This document is archived and information here might be outdated.  Recommended version.

IPolygonElement Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPolygonElement Interface
ArcGIS Developer Help

IPolygonElement Interface

Indicator interface that identifies a Polygon element.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

IPolygonElement is an interface implemented by the PolygonElement coclass only.  The interface has no properties or methods, but exists to give the developer a method of determining whether the element is a PolygonElement.

To check if a graphic element is a PolygonElement, you just need to check to see if the object supports IPolygonElement.

Classes that implement IPolygonElement

Classes Description
PolygonElement The Graphic Element to display polygons.

.NET Samples

Creating a toolbar of globe tools