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

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.

CoClasses that implement IRectangleElement

CoClasses and Classes Description
RectangleElement The Graphic Element to display rectangles.