ObliqueSliceLegendEnable Option

 

The ObliqueSliceLegendEnable option turns on or off the display of the legend for the ObliqueSlice module. The OptionValue is either True or False. True displays the legend. False does not.

 

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

object.Do() or object.DoOnce()

 

Example

This example turns on the display of the legend for a contour map.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ObliqueSliceLegendEnable", "True")

  CommandApi.Do()

 

Used by: ObliqueSlice

 

 

See Also

Automation Model