The HeightFieldLegendNumLabels option changes the number of labels for the legend for the HeightField module. The OptionValue is a integer between 0 and 100, indicating the number of labels.
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(“HeightFieldLegendNumLabels”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the number of labels to display for the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "HeightField")
CommandApi.Option ("HeightFieldLegendNumLabels", "7")
CommandApi.Do()
Used by: HeightField
See Also