Instance Property

minimumDimension

The minimum dimension for a thumbnail.

Declaration

@property(nonatomic, assign) CGFloat minimumDimension;

Discussion

This property defines a minimum dimension for a thumbnail, setting its width and height to greater or equal to minimumDimension * scale.

The default value for this property is 0.

If you set this property, and it’s not possible to generate a thumbnail of the defined minimumDimension for any of the requested QLThumbnailGenerationRequestRepresentationTypes, QLThumbnailGenerator won’t generate a thumbnail.

See Also

Describing the Requested Thumbnail

size

The size of the thumbnails.

scale

The scale of the thumbnails.

representationTypes

The various thumbnail types.

iconMode

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

QLThumbnailGenerationRequestRepresentationTypes

The various types of thumbnails that you can request.