IsosurfaceLegendBGColor Option

 

The IsosurfaceLegendBGColor option sets the background color in the legend for the Isosurface module. The OptionValue is a color name.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

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

 

  CommandApi.Construct ("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: Isosurface

 

 

See Also

Automation Model