Instance Property

rulersVisible

A Boolean that indicates whether the scroll view displays its rulers.

Declaration

@property BOOL rulersVisible;

Discussion

When the value of this property is YES, the scroll view displays its rulers (creating them if needed). When the value of this property is NO, the scroll view doesn’t display its rulers.

See Also

Managing Rulers

rulerViewClass

Returns the default class to be used for ruler objects in NSScrollViews.

hasHorizontalRuler

A Boolean that indicates whether the scroll view keeps a horizontal ruler object.

horizontalRulerView

The scroll view’s horizontal ruler view.

hasVerticalRuler

A Boolean that indicates whether the scroll view keeps a vertical ruler object.

verticalRulerView

The scroll view’s vertical ruler view.