IMapColorScale.NoData

Syntax

NoData: IGxColor;

Description

The NoData property determines a fill color for the missing values.

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