HeightFieldLegendXPos Option

 

The HeightFieldLegendXPos option changes the legend's X 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(“HeightFieldLegendXPos”, “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 ("HeightFieldLegendXPos", "0.3")

  CommandApi.Do()

 

Used by: HeightField

 

 

See Also

Automation Model