Click or drag to resize

ThumbnailGetImageSource Method

Retrieves the bitmap contained in the thumbnail

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public ImageSource GetImageSource(
	Int32Rect? rect = null,
	BitmapSizeOptions sizeOptions = null,
	bool throwOnError = true
)

Parameters

rect (Optional)
Type: SystemNullableInt32Rect
The size of the source image.
sizeOptions (Optional)
Type: System.Windows.Media.ImagingBitmapSizeOptions
Options that specify how to handle conversions.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: ImageSource
A Bitmap instance or null.
See Also