StreamLinesLegendShowBackground Option

 

The StreamLinesLegendShowBackground option turns on or off the display of the background color in the legend for the StreamLines module. The OptionValue is True or False. True turns on the display of the legend background. False turns off the display of the legend background.

 

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

object.Do() or object.DoOnce()

 

Example

This example turns on the display of the background for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("StreamLinesLegendShowBackground", "True")

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model