The ObliqueSliceLegendBGColor option sets the background color in the legend for the ObliqueSlice module. The OptionValue is a color name.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “ObliqueImage”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “ObliqueImage”)
object.Option(“ObliqueSliceLegendBGColor”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the background color to yellow for the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "ObliqueImage")
CommandApi.Option ("ObliqueSliceLegendBGColor", "Yellow")
CommandApi.Do()
Used by: ObliqueSlice
See Also