Enumeration

NSRulerOrientation

These constants are defined to specify a ruler’s orientation and are used by orientation.

Declaration

typedef enum NSRulerOrientation : NSUInteger {
    ...
} NSRulerOrientation;

Topics

Constants

NSHorizontalRuler

Ruler is oriented horizontally.

NSVerticalRuler

Ruler is oriented vertically.

See Also

Ruler layout

scrollView

The NSScrollView that owns the receiver to scrollView, without retaining it.

orientation

The orientation of the receiver to orientation.

reservedThicknessForAccessoryView

The room available for the receiver’s accessory view to thickness.

reservedThicknessForMarkers

The room available for ruler markers to thickness.

ruleThickness

The thickness of the area where ruler hash marks and labels are drawn.

requiredThickness

The thickness needed for proper tiling of the receiver within an NSScrollView.

baselineLocation

The location of the receiver’s baseline, in its own coordinate system.

flipped

A Boolean that indicates if the ruler view's coordinate system is flipped.