---
title: documentVisibleRect
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsclipview/documentvisiblerect
---

# documentVisibleRect

The exposed rectangle of the clip view’s document view, in the document view’s own coordinate system.

## Declaration

```swift
var documentVisibleRect: NSRect { get }
```

## Discussion

Discussion Note that this rectangle doesn’t reflect the effects of any clipping that may occur above the NSClipView itself. To get the portion of the document view that’s guaranteed to be visible, send it a visibleRect message.

## See Also

### Accessing the Visible Portion

- [documentRect](appkit/nsclipview/documentrect.md)
