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


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

ITextBackground Interface

Provides access to members that control the text background.

Product Availability

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

Description

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.

Members

Name Description
Method Draw Draws the text background.
Method QueryBoundary Queries for the boundary of the text background.
Write-only property TextBox The text box.
Read/write property TextSymbol The text symbol.

Classes that implement ITextBackground

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.