HeightFieldLegendWidth Option

 

The HeightFieldLegendWidth option changes the width of the legend for the HeightField module. The OptionValue is a number between 0 and 200.

 

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(“HeightFieldLegendWidth”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the width of the legend.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "HeightField")

  CommandApi.Option ("HeightFieldLegendWidth", "20")

  CommandApi.Do()

 

Used by: HeightField

 

 

See Also

Automation Model