StreamLinesLegendNumLabels Option

 

The StreamLinesLegendNumLabels option changes the number of labels for the legend for the StreamLines module. The OptionValue is a integer between 0 and 100, indicating the number of labels.

 

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

object.Do() or object.DoOnce()

 

Example

This example changes the number of labels to display for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("StreamLinesLegendNumLabels", "7")

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model