HeightFieldLegendFGColor Option

 

The HeightFieldLegendFGColor option sets the line and font color in the legend for the HeightField module. The OptionValue is a color name.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “HeightField”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “HeightField”)

object.Option(“HeightFieldLegendFGColor”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the line color to blue for the legend.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "HeightField")

  CommandApi.Option ("HeightFieldLegendFGColor", "Blue")

  CommandApi.Do()

 

Used by: HeightField

 

 

See Also

Automation Model