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

# documentVisibleRect

The portion of the document view, in its own coordinate system, visible through the scroll view’s content view.

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

## See Also

[`documentVisibleRect`](/documentation/AppKit/NSClipView/documentVisibleRect)

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

[`visibleRect`](/documentation/AppKit/NSView/visibleRect)

The portion of the view that isn’t clipped by its superviews.



---

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)