The OrthoSliceLabelFormatPrefix option sets the prefix for the label in the legend for the OrthoImage module. The OptionValue is the desired prefix label
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(“OrthoSliceLabelFormatPrefix”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example changes the label prefix for the legend.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Contours")
CommandApi.Option ("OrthoSliceLabelFormatPrefix", "pre-")
CommandApi.Do()
Used by: OrthoSlice module
See Also