The HeightFieldLegendYPos option changes the legend's Y position for the HeightField module. The OptionValue is a number between 0 and 1.
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(“HeightFieldLegendYPos”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the X position of the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "HeightField")
CommandApi.Option ("HeightFieldLegendYPos", "0.3")
CommandApi.Do()
Used by: HeightField
See Also