FolderItem methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem