StreamLinesLegendFont Option

 

The StreamLinesLegendFont option changes the font for the legend for the StreamLines module. The OptionValue is the name of the font.

 

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

object.Do() or object.DoOnce()

 

Example

This example changes the font to display for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("StreamLinesLegendFont", "Arial")

  CommandApi.Do()

 

Used by: StreamLines

 

 

See Also

Automation Model