IVZHighlightEffect.AOffset

Syntax

AOffset: Integer;

Description

The AOffset property determines color transparency level.

Comments

Available values are in the range [0; 255]. The closer the value is to 0, the more transparent is the color.

To determine intensity of red color component, use IVZHighlightEffect.ROffset.

To determine intensity of green color component, use IVZHighlightEffect.GOffset.

To determine intensity of blue color component, use IVZHighlightEffect.BOffset.

Example

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

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

Sub UserProc;
Var
    MB: IMetabase;
    Exp: IEaxAnalyzer;
    Map: IVZMapChart;
    Effect: IVZHighlightEffect;
Begin
    // Get repository
    MB := MetabaseClass.Active;
    // Get express report
    Exp := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get map
    Map := Exp.MapChart.MapChart;
    // Create highlighting effect
    Effect := New VZHighlightEffect.Create;
    Effect.AOffset := 100;
    Effect.ROffset := 45;
    Effect.GOffset := 75;
    Effect.BOffset := 100;
    // Create an object for working with effects
    Map.HoverActiveEffects := New VZEffects.Create;
    // Add effect on mouse over the active map element
    Map.HoverActiveEffects.Add(Effect);
    // Refresh and save report
    Exp.MapChart.Refresh;
    (Exp As IMetabaseObject).Save;
End Sub UserProc;

After executing the example mouse over the active map territory of express report applies highlighting effect.

See also:

IVZHighlightEffect