ObliqueSliceLegendCustomLabels Option

 

The ObliqueSliceLegendCustomLabels option sets the values and text to display for custom labels for the legend for the ObliqueSlice module. The OptionValue is the label value, a colon, and the text to be displayed. Separate multiple labels with a comma. An example of multiple labels might look like:

 

1.7:low, 2.1:medium, 2.9:intermediate, 3.2:elevated, 3.7:high

 

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

object.Do() or object.DoOnce()

 

Example

This example sets the custom labels for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ObliqueSliceLegendCustomLabels", "1.7:low, 2.1:medium, 2.9:intermediate, 3.2:elevated, 3.7:high")

  CommandApi.Do()

 

Used by: ObliqueSlice

 

 

See Also

Automation Model