Platforms to show: All Mac Windows Linux Cross-Platform
QLThumbnailGenerationRequestMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 8 properties
- property contentType as String
- property Handle as Integer
- property height as Double
- property iconMode as Boolean
- property minimumDimension as Double
- property representationTypes as Integer
- property scale as Double
- property width as Double
- method Constructor(File as FolderItem, width as Integer = 512, height as Integer = 512, scale as double = 2.0, representationTypes as Integer = &hFF)
- 4 constants
Representation Types
Constant | Value | Description |
---|---|---|
RequestRepresentationTypeAll | &hFF |
The thumbnail type to generate all possible thumbnail representations. |
RequestRepresentationTypeIcon | 1 |
A file icon representation of a file. |
RequestRepresentationTypeLowQualityThumbnail | 2 |
A faster to generate version of the thumbnail that may sacrifice quality for speed. |
RequestRepresentationTypeThumbnail | 4 |
A thumbnail representation of a file. |
This class has no sub classes.
Some methods using this class:
- QLThumbnailGeneratorMBS.cancelRequest(request as QLThumbnailGenerationRequestMBS)
- QLThumbnailGeneratorMBS.generateBestRepresentationForRequest(request as QLThumbnailGenerationRequestMBS)
- QLThumbnailGeneratorMBS.generateRepresentationsForRequest(request as QLThumbnailGenerationRequestMBS)
- QLThumbnailGeneratorMBS.saveBestRepresentationForRequest(request as QLThumbnailGenerationRequestMBS, file as FolderItem, contentType as String)
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)
- QLThumbnailGeneratorMBS.saveBestRepresentationForRequestCompleted(request as QLThumbnailGenerationRequestMBS, error as NSErrorMBS, file as FolderItem)
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.
QLPreviewViewMBS - QLThumbnailGeneratorMBS