FaceRenderLegendBGColor Option

 

The FaceRenderLegendBGColor option sets the background color in the legend for the FaceRender module. The OptionValue is a color name.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example changes the background color to yellow for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("FaceRenderLegendBGColor", "Yellow")

  CommandApi.Do()

 

Used by: FaceRender

 

 

See Also

Automation Model