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


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

IMarkerTextBackground Interface

Provides access to members that control the marker text background.

Product Availability

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

Description

IMarkerTextBackground can be used to display a marker symbol in conjunction with text. Any marker supported by the IMarkerSymbol interface can be used as the background. These include: ICharacterMarkerSymbol, ISimpleMarkerSymbol, IArrowMarkerSymbol, and IPictureMarkerSymbol. Use the ITextBackground interface to set additional properties for IMarkerTextBackground.

Members

Name Description
Method Draw Draws the text background.
Method QueryBoundary Queries for the boundary of the text background.
Read/write property ScaleToFit Indicates if the marker symbol is scaled to fill the text box.
Read/write property Symbol The marker symbol.
Write-only property TextBox The text box.
Read/write property TextSymbol The text symbol.

Inherited Interfaces

Interfaces Description
ITextBackground Provides access to members that control the text background.

Classes that implement IMarkerTextBackground

Classes Description
MarkerTextBackground A marker that is placed behind text.

Remarks

Set the MarkerSymbol you wish to use as a background using the Symbol property. The ScaleToFit property defaults to False--set this property to True if you want the Symbol to draw large enough to fit the entire text string. The Symbol object's Size property does not actually change, only its appearance when drawn.

See Also

IFormattedTextSymbol Interface