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


ISimpleTextSymbol Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

ISimpleTextSymbol Interface

Provides access to members that control the simple text symbol.

Product Availability

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

Description

ISimpleTextSymbol is the interface for text symbols that have basic text display capabilties. Use IFormattedTextSymbol to create text symbols with a high degree of display control.

Members

Description
Read/write property Angle Text baseline angle.
Read/write property BreakCharacter Character to be interpreted as text line end.
Read/write property Clip Indicates if the text will be clipped per geometry.
Read/write property Color Text color.
Read/write property Font Text font.
Method GetTextSize Gets the x and y dimensions of 'text' in points (1/72 inch).
Read/write property HorizontalAlignment Horizontal alignment style.
Read/write property RightToLeft Indicates if the text is drawn from right to left.
Read/write property Size Text size.
Read/write property Text Text to draw.
Read/write property TextPath Path of text baseline.
Read/write property VerticalAlignment Vertical alignment style.
Read/write property XOffset Text offset along X-axis.
Read/write property YOffset Text offset along Y-axis.

Inherited Interfaces

Interfaces Description
ITextSymbol Provides access to members that control text symbols.

CoClasses that implement ISimpleTextSymbol

CoClasses and Classes Description
TextMarkerSymbol (esriTrackingAnalyst) Class used to create a text marker symbol used to symbolize point geometries.
TextSymbol A symbol that controls how text is displayed.

See Also

ISimpleTextSymbol Interface | ITextSymbol Interface | IFormattedTextSymbol Interface

.NET Samples

RSS weather GraphicTracker (Code Files: RSSWeather) | Draw text on a MapControl (Code Files: DrawText)