OrthoSliceLegendNumLabels Option

 

The OrthoSliceLegendNumLabels option changes the number of labels for the legend for the OrthoImage 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”, “OrthoImage”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “OrthoImage”)

object.Option(“OrthoSliceLegendNumLabels”, “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", "OrthoImage")

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

  CommandApi.Do()

 

Used by: OrthoSlice module

 

 

See Also

Automation Model