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

# presentationFrame

The frame rectangle that places the preview image directly over the
matching text.

```
var presentationFrame: NSRect { get }
```

## Discussion

You specify this value at initialization time. The system uses it to
position the preview image over the text in your view. Make sure the
frame rectangle is in your view’s coordinate space.

---

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)