This document is archived and information here might be outdated. Recommended version. |
Provides access to members that control the text background.
The TextBackground abstract class defines the common properties of the different types of background�MarkerTextBackground, BalloonCallout, and LineCallout. Use a MarkerTextBackground to draw text over a single glyph from a font (for example, a highway shield and number). A BalloonCallout draws a rectangular- or balloon-shaped background for a text string with a predefined leader line. A LineCallout is similar to a BalloonCallout but has a different leader line with a user-defined style and an accent bar.
Callout text backgrounds can be used for TextSymbol objects with a TextPath set, but note that the callout will produce a background to the envelope of the text, not one following the path.
Examples of the three types of text background: marker text background, balloon callout, and line callout.
Name | Description | |
---|---|---|
Draw | Draws the text background. | |
QueryBoundary | Queries for the boundary of the text background. | |
TextBox | The text box. | |
TextSymbol | The text symbol. |
Classes | Description |
---|---|
BalloonCallout | A filled background that is placed behind text. |
LineCallout | A series of line symbols that link text to a specified location. |
MarkerTextBackground | A marker that is placed behind text. |
SimpleLineCallout | A simple line that links text to a specified location. |