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.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic static void ReplaceIconByThumbnail(
ImageList pImageList,
int pImageIndex,
Image pThumbnail,
Image pBitmapSource
)
Public Shared Sub ReplaceIconByThumbnail (
pImageList As ImageList,
pImageIndex As Integer,
pThumbnail As Image,
pBitmapSource As Image
)
public:
static void ReplaceIconByThumbnail(
ImageList^ pImageList,
int pImageIndex,
Image^ pThumbnail,
Image^ pBitmapSource
)
static member ReplaceIconByThumbnail :
pImageList : ImageList *
pImageIndex : int *
pThumbnail : Image *
pBitmapSource : Image -> unit 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