ThumbnailGet Method (Item, Int32, WTS_FLAGS, Boolean, Boolean) |
Gets the thumbnail for a specific Shell Item.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Thumbnail Get(
Item item,
int size = 0,
WTS_FLAGS flags = WTS_FLAGS.WTS_NONE,
bool preloadBitmap = false,
bool throwOnError = true
)
Parameters
- item
- Type: ShellBoost.Core.WindowsShellItem
The Shell Item. - size (Optional)
- Type: SystemInt32
The requested size. - flags (Optional)
- Type: ShellBoost.Core.WindowsShellWTS_FLAGS
A set of optional flags. - preloadBitmap (Optional)
- Type: SystemBoolean
if set to true the related bitmap will be preloaded. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
ThumbnailA Thumbnail instance or null.
Exceptions See Also