Instance Property

measurementUnits

The measurement units used by the ruler to unitName.

Declaration

var measurementUnits: NSRulerView.UnitName { get set }

Discussion

unitName must have been registered with the NSRulerView class object prior to invoking this method. See the description of the class method registerUnit(withName:abbreviation:unitToPointsConversionFactor:stepUpCycle:stepDownCycle:) for a list of predefined units.

See Also

Altering measurement units