OrthoSliceLegendFGColor Option

 

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

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “OrthoImage”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “OrthoImage”)

object.Option(“OrthoSliceLegendFGColor”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

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

 

  CommandApi.Construct ("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: OrthoSlice module

 

 

See Also

Automation Model