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

# QLThumbnailRequestSetDocumentObject(_:_:_:)

Stores an object as part of a thumbnail request.

```
func QLThumbnailRequestSetDocumentObject(_ thumbnail: QLThumbnailRequest!, _ object: UnsafeRawPointer!, _ callbacks: UnsafePointer<CFArrayCallBacks>!)
```

## Parameters

`thumbnail`

The thumbnail request.

`object`

The object that you want to associate with the thumbnail request.

`callbacks`

Callbacks for retaining or releasing the object that you want to store as part of the thumbnail request.

## Discussion

---

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)