The HeightFieldLegendUseCustomLabels option turns on the display of custom labels for the legend for the HeightField module. The OptionValue is True or False. True displays the custom labels. False displays automatic 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(“HeightFieldLegendUseCustomLabels”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example turns on the display of custom labels for the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "HeightField")
CommandApi.Option ("HeightFieldLegendUseCustomLabels", "True")
CommandApi.Do()
Used by: HeightField
See Also