VolRenderLegendNumLabels Option

 

The VolRenderLegendNumLabels option changes the number of labels for the legend for the VolRender module. The OptionValue is a integer between 0 and 100, indicating the number of labels.

 

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(“VolRenderLegendNumLabels”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the number of labels to display for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("VolRenderLegendNumLabels", "7")

  CommandApi.Do()

 

Used by: VolRender module

 

 

See Also

Automation Model