Platforms to show: All Mac Windows Linux Cross-Platform
Back to FolderItem class.
FolderItem.QuickLookMBS(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 | 7.7 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil if Quick Look does not support this file type. In that case you may use folderitem.Icon() with the given size.
MaxWidth and MacHeight specify the maximum desired size.
If ScaleFactor is bigger than zero, it is used. Else the default value is used.
If IconMode is true, QL will produce an icon (ie a thumbnail and all the icon decor, like shadows, curled corner, etc.).
If you look for a control to show quicklook preview like the finder, please check the QLPreviewPanelMBS window and the QLPreviewViewMBS control.
QuickLook does not provide images for items in special folders like temporary folders.
Some examples using this method:
Blog Entries
The items on this page are in the following plugins: MBS MacFrameworks Plugin.