---
title: "QLThumbnailGetContentRect(_:)"
framework: quicklook
role: symbol
role_heading: Function
path: "quicklook/qlthumbnailgetcontentrect(_:)"
---

# QLThumbnailGetContentRect(_:)

Returns the rectangle of the provided thumbnail image that represents the content of the document.

## Declaration

```swift
func QLThumbnailGetContentRect(_ thumbnail: QLThumbnail!) -> CGRect
```

## Parameters

- `thumbnail`: A thumbnail image.

## Return Value

Return Value The effective rectangle of the thumbnail image that represents the content of the document. In icon mode, this is the part of the image without all the image decorations.

## See Also

### Creating thumbnails

- [QLThumbnailImageCreate(_:_:_:_:)](quicklook/qlthumbnailimagecreate(_:_:_:_:).md)
- [QLThumbnailCreate(_:_:_:_:)](quicklook/qlthumbnailcreate(_:_:_:_:).md)
- [QLThumbnailDispatchAsync(_:_:_:)](quicklook/qlthumbnaildispatchasync(_:_:_:).md)
- [QLThumbnailCancel(_:)](quicklook/qlthumbnailcancel(_:).md)
- [QLThumbnailCopyDocumentURL(_:)](quicklook/qlthumbnailcopydocumenturl(_:).md)
- [QLThumbnailCopyImage(_:)](quicklook/qlthumbnailcopyimage(_:).md)
- [QLThumbnailCopyOptions(_:)](quicklook/qlthumbnailcopyoptions(_:).md)
- [QLThumbnailGetMaximumSize(_:)](quicklook/qlthumbnailgetmaximumsize(_:).md)
- [QLThumbnailGetTypeID()](quicklook/qlthumbnailgettypeid().md)
- [QLThumbnailIsCancelled(_:)](quicklook/qlthumbnailiscancelled(_:).md)
