StreamLinesLegendFGColor Option

 

The StreamLinesLegendFGColor option sets the line and font color in the legend for the StreamLines module. The OptionValue is a color name.

 

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

object.Do() or object.DoOnce()

 

Example

This example changes the line color to blue for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("StreamLinesLegendFGColor", "Blue")

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model