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


IPolygonElement Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IP > IPolygonElement Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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.

CoClasses that implement IPolygonElement

CoClasses and Classes Description
PolygonElement The Graphic Element to display polygons.

.NET Samples

Creating a toolbar of globe tools (Code Files: PolygonElement)