Instance Property


The measurement units used by the ruler to unitName.


@property(copy) NSRulerViewUnitName measurementUnits;


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

See Also

Altering measurement units

+ registerUnitWithName:abbreviation:unitToPointsConversionFactor:stepUpCycle:stepDownCycle:

Registers a new unit of measurement with the NSRulerView class, making it available to all instances of NSRulerView.