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


RectangleElement CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Classes > R > RectangleElement CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

RectangleElement CoClass

The Graphic Element to display rectangles.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Interfaces

Interfaces Description
IBoundsProperties Provides access to members that control Bounds Properties.
IClone (esriSystem) Provides access to members that control cloning of objects.
IElement Provides access to members that control the Element.
IElementProperties Provides access to members that control the Element Properties.
IElementProperties2 Provides access to members that control More Element Properties.
IElementProperties3 Provides access to members that control More Element Properties.
IFillShapeElement Provides access to members that control the Fill Shape element.
IGraphicElement Provides access to members that control the Graphic Element object.
IPersistStream (esriSystem)
IPropertySupport (esriSystem) Provides access to members that set a default property on an object.
IRectangleElement Indicator interface that identifies a Rectangle element.
ITransform2D (esriGeometry) Provides access to methods for transforming geometries using either specific parameters or arbitrary transformation objects (affine transformations, geographic transformations, etc.).
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.

Remarks

A RectangleElement is a type of FillShapeElement that supports polygons.  Use this object when you want to create and manipulate rectangle graphics on the map.

Geometry: RectangleElement accepts geometry of type esriGeometryEnvelope or esriGeometryPolygon.  If an envelope is passed it, it is converted to a Polygon internally.  Since this element type is used to represent an rectangle, the geometry typically consists of a rectangular polygon created form an envelope.

See Also

IRectangleElement Interface | IFillShapeElement Interface