---
title: contentRect
framework: quicklookthumbnailing
role: symbol
role_heading: Instance Property
path: quicklookthumbnailing/qlthumbnailrepresentation/contentrect
---

# contentRect

The rectangle within the thumbnail image of the document that represents its contents.

## Declaration

```swift
var contentRect: CGRect { get }
```

## Discussion

Discussion In icon mode, the content rectangle is the undecorated rectangle, or frame, that the image sits in.

## See Also

### Thumbnail Images

- [cgImage](quicklookthumbnailing/qlthumbnailrepresentation/cgimage.md)
- [nsImage](quicklookthumbnailing/qlthumbnailrepresentation/nsimage.md)
- [uiImage](quicklookthumbnailing/qlthumbnailrepresentation/uiimage.md)
- [type](quicklookthumbnailing/qlthumbnailrepresentation/type.md)
- [QLThumbnailRepresentation.RepresentationType](quicklookthumbnailing/qlthumbnailrepresentation/representationtype.md)
