<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSClipView/documentVisibleRect",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSClipView(py)documentVisibleRect"
  },
  "title" : "documentVisibleRect"
}
-->

# documentVisibleRect

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

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

## Discussion

Note that this rectangle doesn’t reflect the effects of any clipping that may occur above the [`NSClipView`](/documentation/AppKit/NSClipView) itself. To get the portion of the document view that’s guaranteed to be visible, send it a `visibleRect` message.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)