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

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

IRectangleElement Interface

Indicator interface that identifies a Rectangle element.

Product Availability

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

When To Use

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

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

Classes that implement IRectangleElement

Classes Description
RectangleElement The Graphic Element to display rectangles.