---
title: iconMode
framework: quicklookthumbnailing
role: symbol
role_heading: Instance Property
path: quicklookthumbnailing/qlthumbnailgenerator/request/iconmode
---

# iconMode

A Boolean value indicating whether the generated thumbnail request should include icon decorations.

## Declaration

```swift
var iconMode: Bool { get set }
```

## Discussion

Discussion Set this property to true to generate a thumbnail that’s appropriate to use as a file icon. Depending on the platform, the thumbnail may be embedded in a frame, show a curled corner, or display a background or drop shadow. If this property’s value is false, QLThumbnailGenerator generates a raw, undecorated thumbnail. The default value of this property is false.

## See Also

### Describing the Requested Thumbnail

- [size](quicklookthumbnailing/qlthumbnailgenerator/request/size.md)
- [scale](quicklookthumbnailing/qlthumbnailgenerator/request/scale.md)
- [contentType](quicklookthumbnailing/qlthumbnailgenerator/request/contenttype.md)
- [representationTypes](quicklookthumbnailing/qlthumbnailgenerator/request/representationtypes-swift.property.md)
- [minimumDimension](quicklookthumbnailing/qlthumbnailgenerator/request/minimumdimension.md)
- [QLThumbnailGenerator.Request.RepresentationTypes](quicklookthumbnailing/qlthumbnailgenerator/request/representationtypes-swift.struct.md)
