The HeightFieldLegendFont option changes the font for the legend for the HeightField module. The OptionValue is the name of the font.
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(“HeightFieldLegendFont”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the font to display for the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "HeightField")
CommandApi.Option ("HeightFieldLegendFont", "Arial")
CommandApi.Do()
Used by: HeightField
See Also