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.

Add links to the Drawing, Map, and Report system assemblies.

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(120100 + (i*15), 225);
        MapScale.Exact(i) := New GxColor.CreateRGB(170100 + (i*15), 225);
        MapScale.Greater(i) := New GxColor.CreateRGB(220100 + (i*15), 225);
    End For;
    MapScale.NoData := New GxColor.CreateRGB(25000);
End Sub UserProc;

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

See also:

IMapColorScale