<!--
{
  "availability" : [
    "macOS: 10.6.0 - 15.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLook",
  "identifier" : "/documentation/QuickLook/QLThumbnailGetContentRect(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Quick Look"
    ],
    "preciseIdentifier" : "c:@F@QLThumbnailGetContentRect"
  },
  "title" : "QLThumbnailGetContentRect(_:)"
}
-->

# QLThumbnailGetContentRect(_:)

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

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

## Parameters

`thumbnail`

A thumbnail image.

## 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.

---

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)