Platforms to show: All Mac Windows Linux Cross-Platform
QLThumbnailRepresentationMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
QuickLook Thumbnailing is a non-UI framework, so your app doesn’t have to link to either UIKit or AppKit. Quicklook Thumbnailing generates a thumbnail as a Core Graphics image object and makes the thumbnail available as the CGImage property.
If an app links to AppKit or UIKit, the thumbnail is available through the NSImage or UIImage properties.
For more information on the different types of thumbnails that QLThumbnailGenerator can create, see type constants.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 9 properties
- property CGImage as Variant
- property contentRectHeight as Double
- property contentRectLeft as Double
- property contentRectTop as Double
- property contentRectWidth as Double
- property Handle as Integer
- property NSImage as NSImageMBS
- property Picture as Picture
- property Type as Integer
- method Constructor Private
- 3 constants
Types
Constant | Value | Description |
---|---|---|
TypeIcon | 0 |
A file icon representation of an image. |
TypeLowQualityThumbnail | 1 |
A cached thumbnail representation of an image. |
TypeThumbnail | 2 |
A thumbnail representation of an image. |
This class has no sub classes.
Some events using this class:
- QLThumbnailGeneratorMBS.generateBestRepresentationForRequestCompleted(request as QLThumbnailGenerationRequestMBS, thumbnail as QLThumbnailRepresentationMBS, error as NSErrorMBS)
- QLThumbnailGeneratorMBS.generateRepresentationsForRequestUpdated(request as QLThumbnailGenerationRequestMBS, thumbnail as QLThumbnailRepresentationMBS, type as Integer, error as NSErrorMBS)
Some examples using this class:
Blog Entries
Release notes
- Version 24.2
- Added QLThumbnailGenerationRequestMBS, QLThumbnailGeneratorMBS and QLThumbnailRepresentationMBS classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
QLThumbnailGeneratorMBS - QTAudioChannelDescriptionMBS