The VolRenderLegendXPos option changes the legend's X position for the VolRender module. The OptionValue is a number between 0 and 1.
Syntax
object.Construct(“CreateModule”)
object.Option(“SourceModule”, “data file name”)
object.Option(“Type”, “VolRender”)
object.Do() or object.DoOnce()
object.Construct(“ModifyModule”)
object.Option(“Module”, “VolRender”)
object.Option(“VolRenderLegendXPos”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the X position of the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "VolRender")
CommandApi.Option ("VolRenderLegendXPos", "0.3")
CommandApi.Do()
Used by: VolRender module
See Also