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

# QLThumbnailCopyDocumentURL(_:)

Returns the URL of the document that you’re requesting a thumbnail for.

```
func QLThumbnailCopyDocumentURL(_ thumbnail: QLThumbnail!) -> Unmanaged<CFURL>!
```

## Parameters

`thumbnail`

The thumbnail to compute.

## Return Value

The URL of the document that you’re requesting a thumbnail for.

---

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)