IMap.TextBackgroundBrush

Syntax

TextBackgroundBrush: IGxBrush;

Description

The TextBackgroundBrush property determines map text background.

Example

The example requires the Map object of the IMap type.

Sub Brush;

Var

Map: IMap;

Color: IGxColor;

Begin

Color := GxColor.FromName("Red");

Map.TextBackgroundBrush := New GxSolidBrush.Create(Color);

End Sub Brush;

After executing the example the text background color is changed to red.

See also:

IMap