FillForegroundColorMap Property

The FillForegroundColorMap property returns the foreground fill color map object for a contour map. Returns a ColorMap object. This is a read-only property.

Syntax

object.FillForegroundColorMap

Remarks

After setting the FillForegroundColorMap, the script must still apply the fill change. Use the ApplyFilltoLevels command to apply changes.

Example

This example shows how to load the Rainbow.CLR file for the foreground color map.

ContourLayer.FillForegroundColorMap.LoadFile(SurferApp.Path + "\Samples\Rainbow.clr")

Used by: ContourLayer Object