---
title: presentationFrame
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextpreview/presentationframe
---

# presentationFrame

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

## Declaration

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

## Discussion

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.

## See Also

### Getting the preview details

- [previewImage](appkit/nstextpreview/previewimage.md)
- [candidateRects](appkit/nstextpreview/candidaterects.md)
