JVCL Help:LoadImageListFromBitmap@TCustomImageList@TBitmap@TBitmap
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: LoadImageListFromBitmap function
[+] JvImageList.pas Functions
Search in JVCL Help
Search in all projectsSummary
Loads the bitmaps for the ImageList from a bitmap.
Pascal
run\JvImageList.pas
functionLoadImageListFromBitmap(ImgList: TCustomImageList; constBitmap: TBitmap; MaskColor: TColor = clFuchsia; AutoMaskColor: Boolean = False): Integer; overload;
functionLoadImageListFromBitmap(ImgList: TCustomImageList; constBitmap: TBitmap; MaskBitmap: TBitmap): Integer; overload;
Parameters
Parameters | Description |
ImgList: TCustomImageList | The image list to which the split bitmap should be added |
const Bitmap: TBitmap | The bitmap that should be added to the image list |
MaskColor: TColor = clFuchsia | Mask color (default: clFuchsia) |
AutoMaskColor: Boolean = False | Set this to true if the mask color should be the bottom left pixel of each bitmap slice. |
MaskBitmap: TBitmap | The bitmap mask that is used for the bitmap |
Description
The given bitmap is split into smaller bitmaps which are added to the image list. The mask bitmap is used as mask. Or the mask color is used if AutoMaskColor is false. Otherwise bottom left pixel's color is used as mask color. The return value is the number of added bitmaps.
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page