Click or drag to resize

SystemImageListHelperReplaceIconByThumbnail Method

This method replaces a bitmap in the imagelist at the given index. It paints images smaller than the thumbnail itself to the middle of the bitmap by creating a resized image canvas and redrawing it.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax
public static void ReplaceIconByThumbnail(
	ImageList pImageList,
	int pImageIndex,
	Image pThumbnail,
	Image pBitmapSource
)

Parameters

pImageList
Type: System.Windows.FormsImageList
The ImageList where the image sgould be added.
pImageIndex
Type: SystemInt32
The index for the new image.
pThumbnail
Type: System.DrawingImage
The new image.
pBitmapSource
Type: System.DrawingImage
The source used to create the Image. Only free after freeing the Image. May be null.
See Also