StreamLinesLegendEnable Option

 

The StreamLinesLegendEnable option turns on or off the display of the legend for the StreamLines module. The OptionValue is either True or False. True displays the legend. False does not.

 

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

object.Do() or object.DoOnce()

 

Example

This example turns on the display of the legend for a orthoimage map.

 

  CommandApi.Construct ("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model