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 (in ShellBrowser.dll) Version: 7.2
Syntax
public static void ReplaceIconByThumbnail(
	ImageList pImageList,
	int pImageIndex,
	Image pThumbnail,
	Image pBitmapSource
)

Parameters

pImageList  ImageList
The ImageList where the image sgould be added.
pImageIndex  Int32
The index for the new image.
pThumbnail  Image
The new image.
pBitmapSource  Image
The source used to create the Image. Only free after freeing the Image. May be null.
See Also