Skip to main content

elementImperialUnit

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

See the full description of the scaleObject here.

Syntax

    RxCore.elementImperialUnit(unit);

Parameters

  • unit: string a string with the correct imperial unit label.
  • 'Inch'
  • 'Feet'
  • 'Yard'
  • 'Mile'
  • 'Nautical Miles'

Returns

  • NA — This method does not return a value.