Click or drag to resize

ShellBrowserGetThumbnailBitmap Method (Size, GetThumbnailCallback, Object, Int32)

Asynchronously extracts the thumbnail image of the currently active shell object in the requested size. Only for folders on Vista or later the size will always be quadratic with side length being the smallest of either p_Size.Width or p_Size.Height, to avoid a stretching - use the synchronous call GetThumbnailBitmap(Size) if you'd like to explicitly specify the dimensions

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public void GetThumbnailBitmap(
	Size p_Size,
	GetThumbnailCallback p_CallBack,
	Object p_State,
	int handle
)

Parameters

p_Size
Type: System.DrawingSize
The size the returned thumbnail should have.
p_CallBack
Type: Jam.ShellGetThumbnailCallback
The method to be called when this asynchronous operation is completed.
p_State
Type: SystemObject
An optional, user-provided object that distinguishes this particular asynchronous request from other requests.
handle
Type: SystemInt32
The handle of the calling control. Used to tag the WorkerItems and to remove old WorkerItems tagged with this handle.
See Also