ObliqueSliceLegendOrientation Option

 

The ObliqueSliceLegendOrientation option changes the orientation of the legend from horizontal to vertical for the ObliqueImage module. The OptionValue is 0 or 1 for horizontal or vertical.

 

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 changes the orientation of the legend to horizontal.

 

  CommandApi.Construct ("ModifyModule")

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

  CommandApi.Option ("ObliqueSliceLegendOrientation", "0")

  CommandApi.Do()

 

Used by: ObliqueSlice

 

 

See Also

Automation Model