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


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

ITextSymbol Interface

Provides access to members that control text symbols.

Product Availability

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

Description

ITextSymbol is the generic interface for properties of IFormattedTextSymbol and ISimpleTextSymbol.

Members

Description
Read/write property Angle Text baseline angle.
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 VerticalAlignment Vertical alignment style.

CoClasses that implement ITextSymbol

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

Control text symbols using the SymbologyControl (Code Files: TextSymbols) | Creating a toolbar of globe tools (Code Files: TextElement) | Building a MapViewer application using the ArcGIS Engine controls (Code Files: AddDateTool) | Play back tracking data (Code Files: PlaybackDataButton) | Draw text on a MapControl (Code Files: DrawText) | Configure a command for a specific locale (Code Files: CultureTool)

.NET Related Topics

Building a map viewing application using the ArcGIS Engine controls | Creating annotation and dimension feature classes