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

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

ITextElement Interface

Provides access to members that control the Text element.

Product Availability

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


Name Description
Read/write property ScaleText Indicates if the text scales with the map.
Read/write property Symbol Text symbol this element uses to draw itself.
Read/write property Text Text being displayed by this element.

Classes that implement ITextElement

Classes Description
ParagraphTextElement The Graphic Element to display text which flows into an area geometry.
PMFTitleTextElement The Graphic Element to display dynamic PMF titles.
TextElement The Graphic Element to display text.


ITextElement is the main interface of the TextElement and ParagraphTextElement objects.  The interface is used to manipulate the symbol and text string associated with these element types.  The most common method for obtaining a reference to an object that implements ITextElement object is to take an IElement reference from an IGraphicsContainer and check to see if the object supports ITextElement.  If you are manipulating TextElements in an annotation feature class, it is recommended that you consult ISymbolCollectionElement for detailed information on the specialized symbol management of text in this situation.

.NET Samples

Configure a command for a specific locale Controls commands environment Creating a toolbar of globe tools Building a MapViewer application using the ArcGIS Engine controls Control text symbols using the SymbologyControl