Skip to main content

elementMetricUnit

Use to set the metric unit for the currently selected measurement object. This method uses the metricUnit method of the RxCore internal scale object associated with the selected measurement object.

See the full description of the scaleObject here.

Syntax

    RxCore.elementMetricUnit(unit);

Parameters

  • unit: string a string with the correct metric unit label.
  • 'Millimeter'
  • 'Centimeter'
  • 'Decimeter'
  • 'Meter'
  • 'Kilometer'
  • 'Nautical Miles'

Returns

  • NA — This method does not return a value.