Contents

minimumDimension

The minimum height or width for a generated thumbnail.

Declaration

var minimumDimension: CGFloat { get set }

Discussion

This property defines a minimum dimension for a generated thumbnail, returning a thumbnail with a width or height greater or equal to the value of minimumDimension * scale.

The default value for this property is 0.

If you set this property, and the system can’t generate a thumbnail of minimumDimension for any of the requested types represented by QLThumbnailGenerator.Request.RepresentationTypes, then QLThumbnailGenerator doesn’t generate a thumbnail.

See Also

Describing the Requested Thumbnail