IVZTerritoryTranscript.HighlightBrush

Syntax

HighlightBrush: IGxBrush;

Description

The HighlightBrush property determines settings of the brush for highlighting territory info elements.

Comments

To determine the maximum number of info elements, use IVZTerritoryTranscript.MaxItemsCount.

Example

Executing the example requires that the repository contains an express report with the EXPRESS identifier containing a map.

Add links to the Drawing, Express, Metabase, Visualizators system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    MC: IVZMapChart;
    TT: IVZTerritoryTranscript;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Express := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get map
    MC := Express.MapChart.MapChart;
    // Get territory info
    TT := MC.TerritoryTranscript;
    // Enable territory info
    TT.Visible := True;
    // Determine highlighting color for territory info elements
    TT.HighlightBrush := New GxSolidBrush.Create(GxColor.FromName("Red"));
    // Save changes
    (Express As IMetabaseObject).Save;
End Sub UserProc;

After executing the example on hovering over the required area the corresponding info element is highlighted with red.

See also:

IVZTerritoryTranscript