ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Thumbnail.TJamThumbnailExtractor.GetThumbnailBitmap

Use GetThumbnailBitmap to get a TBitmap thumbnail of the file represented by the passed ItemIdList.

Syntax
Pascal
class function GetThumbnailBitmap(const pItemIdList: IItemIdList; pThumbnailOptions: TThumbnailOptions; const pCancellationToken: ICancellationIndicator): TBitmap; overload;
Parameters 
Description 
const pItemIdList: IItemIdList 
The ItemIdList to get the thumbnail for. 
pThumbnailOptions: TThumbnailOptions 
Retrieval options for the thumbnail. 
const pCancellationToken: ICancellationIndicator 
A cancellationToken to communicate that thumbnail retrieval should be cancelled, if possible. 

A TBitmap containing the thumbnail requested, or nil, if the thumbnail couldn't be retrieved.