Platforms to show: All Mac Windows Linux Cross-Platform
Back to QLThumbnailGenerationRequestMBS class.
QLThumbnailGenerationRequestMBS.contentType as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The content type of the file being thumbnailed is used to determine the provider of the thumbnail and the icon styles applied if iconMode is requested. By default the content type is derived from the file extension. Setting this property will override the derived content type. This is useful for files that don’t have meaningful extensions but for which you may already know the content type.
(Read and Write property)
QLThumbnailGenerationRequestMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write property)
QLThumbnailGenerationRequestMBS.height as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
QLThumbnailGenerationRequestMBS.iconMode as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If set to true, this will generate something appropriate for display as a file icon, meaning that the thumbnail might be embedded in a frame, show a curled corner, draw a background and/or a drop shadow, as appropriate for the platform. If set to NO, this will generate a raw undecorated thumbnail. Defaults to false.
(Read and Write property)
Some examples using this property:
QLThumbnailGenerationRequestMBS.minimumDimension as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Defaults to 0. If set, the thumbnail will have a width and height greater or equal to minimumDimension * scale. If set and it is not possible to generate thumbnails of minimumDimension for any of the requested types, no thumbnail will be provided.
(Read and Write property)
QLThumbnailGenerationRequestMBS.representationTypes as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
QLThumbnailGenerationRequestMBS.scale as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This will usually be the scale of the screen.
You can for instance pass a scale different from the one of the screen if you would like to save generated thumbnails to a server to later download them on devices with a different screen scale.
(Read only property)
QLThumbnailGenerationRequestMBS.width as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | QuickLook | MBS MacFrameworks Plugin | 24.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read only property)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
