Platforms to show: All Mac Windows Linux Cross-Platform

Back to FolderItem class.

FolderItem.QuickLookMTMBS(MaxWidth as Integer = 500, MaxHeight as Integer = 500, IconMode as Boolean = false, ScaleFactor as Double = 1.0) as picture

Type Topic Plugin Version macOS Windows Linux iOS Targets
method QuickLook MBS MacFrameworks Plugin 13.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a thumbnail for the designated file.
Example
Dim f As FolderItem

f=SpecialFolder.Desktop.Child("test.png")

// shows preview of image in 512x512 pixels.
Backdrop=f.QuickLookMTMBS(512,512,False,0)

Same as QuickLookMBS, but thread friendly.

QuickLook does not provide images for items in special folders like temporary folders.

The work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.

Blog Entries

The items on this page are in the following plugins: MBS MacFrameworks Plugin.


The biggest plugin in space...