IWxStyle.TextBackBrushColor

Syntax

TextBackBrushColor: IGxColor;

Description

The TextBackBrushColor property determines text background color.

Example

Executing the example requires an existing ws object of the IWxWorkspace type.

Sub UserProc;

Var

ws: IWxWorkspace;

Shape: IWxShape;

Style: IWxStyle;

Begin

ws.BeginUpdate;

Shape := ws.Shapes.Item(1);

Shape.Text := "Text";

Style := Shape.Style;

Style.TextFontBrushColor := GxColor.FromName("Red");

Style.TextBackBrushColor := GxColor.FromName("Blue");

Style.TextBackBrushTransparent := 60;

ws.EndUpdate;

End Sub UserProc;

After executing the example the object contains text in the blue background of defined transparency.

See also:

IWxStyle