StreamLinesLegendYPos Option

 

The StreamLinesLegendYPos option changes the legend's Y position for the StreamLines module. The OptionValue is a number between 0 and 1.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example changes the Y position of the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("StreamLinesLegendYPos", "0.9")

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model