IMapColorScale.Greater

Syntax

Greater(Index: Integer): IGxColor;

Parameters

Index - scale tick mark index.

Description

The Greater property determines fill color of the factor, which values exceed the scale tick mark value.

Comments

Each scale tick mark value is matched with one of the three color gradations (less, equals, greater).

Example

The example requires the Report object of the IPrxReport type.A color scale must be created in the regular report.

Sub UserProc;

Var

Report : IPrxReport;

MapScale : IMapColorScale;

i: Integer;

Begin

MapScale := Report.Scales.Item(0).MapScale As IMapColorScale;

For i := 0 To MapScale.Count - 1 Do

MapScale.Less(i) := New GxColor.CreateRGB(120, 100 + (i*15), 225);

MapScale.Exact(i) := New GxColor.CreateRGB(170, 100 + (i*15), 225);

MapScale.Greater(i) := New GxColor.CreateRGB(220, 100 + (i*15), 225);

End For;

MapScale.NoData := New GxColor.CreateRGB(250, 0, 0);

End Sub UserProc;

After executing the example the colors are altered for all color scale tick marks.

See also:

IMapColorScale