Click or drag to resize

ThumbnailGet Method (Item, Int32, WTS_FLAGS, Boolean, Boolean)

Gets the thumbnail for a specific Shell Item.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
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: callback.ShellBoost.Core.WindowsShellItem
The Shell Item.
size (Optional)
Type: SystemInt32
The requested size.
flags (Optional)
Type: callback.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: Thumbnail
A Thumbnail instance or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also