ContourLabelFormatType Option

 

The ContourLabelFormatType option sets label format in the legend for the Contours module. The OptionValue is 0, 1, or 2 for Fixed, Exponential, or General.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “Contours”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

object.Option(“ContourLabelFormatType”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the label format to Fixed for the legend.

 

  CommandApi.Construct ("ModifyModule")

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

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

  CommandApi.Do()

 

Used by: Contour

 

 

See Also

Automation Model