---
title: rulersVisible
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/rulersvisible
---

# rulersVisible

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

## Declaration

```swift
var rulersVisible: Bool { get set }
```

## Discussion

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

## See Also

### Managing Rulers

- [rulerViewClass](appkit/nsscrollview/rulerviewclass.md)
- [hasHorizontalRuler](appkit/nsscrollview/hashorizontalruler.md)
- [horizontalRulerView](appkit/nsscrollview/horizontalrulerview.md)
- [hasVerticalRuler](appkit/nsscrollview/hasverticalruler.md)
- [verticalRulerView](appkit/nsscrollview/verticalrulerview.md)
