ContourLegendXPos Option

 

The ContourLegendXPos option changes the legend's X position for the Contours module. The OptionValue is a number between 0 and 1.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “Contours”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “Contours”)

object.Option(“ContourLegendXPos”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the X position of the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ContourLegendXPos", "0.3")

  CommandApi.Do()

 

Used by: Contour

 

 

See Also

Automation Model