Provides access to members that control the formatted text symbol.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
IFormattedTextSymbol is the interface for creating text symbols that have robust character placement and background display properties.
Members
Description | ||
---|---|---|
Angle | Text baseline angle. | |
Background | The text background object. | |
Case | The text case. | |
CharacterSpacing | The character spacing. | |
CharacterWidth | The character width. | |
Color | Text color. | |
Direction | The text direction. | |
FillSymbol | The fill symbol. | |
FlipAngle | The flip angle. | |
Font | Text font. | |
GetTextSize | Gets the x and y dimensions of 'text' in points (1/72 inch). | |
HorizontalAlignment | Horizontal alignment style. | |
Kerning | Indicates if kerning is on. | |
Leading | The character leading. | |
Position | The text position. | |
RightToLeft | Indicates if the text is drawn from right to left. | |
ShadowColor | The shadow color. | |
ShadowXOffset | The shadow X offset. | |
ShadowYOffset | The shadow Y offset. | |
Size | Text size. | |
Text | Text to draw. | |
TypeSetting | Indicates if typesetting is used. | |
VerticalAlignment | Vertical alignment style. | |
WordSpacing | The word spacing. |
Inherited Interfaces
Interfaces | Description |
---|---|
ITextSymbol | Provides access to members that control text symbols. |
CoClasses that implement IFormattedTextSymbol
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. |
Remarks
Change the spread of characters in the text string by setting the CharacterSpacing property, which indicates the spacing between each character as a percentage. The default is 0, which indicates the standard character spacing, but values of -200 to 200 are valid. Lines of text can be spaced by setting the Leading property, whose units are Points.
You can change the case of every alphabetic character in the text string by setting the Case property to one of the esriTextCase constants.
You can also create subscript and superscript text by setting the Position property.
See Also
IFormattedTextSymbol Interface | ISimpleTextSymbol Interface | ITextSymbol Interface