Instance Property

measurementUnits

The measurement units used by the ruler to unitName.

Declaration

@property(copy) NSRulerViewUnitName measurementUnits;

Discussion

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.