TcxCustomImageList.GetImageInfo(TCustomImageList,Integer,TBitmap,TBitmap,IdxColorPalette) Method
In This Article
Obtains the bitmap and transparency mask bitmap of the specified stored image.
#Declaration
Delphi
class procedure GetImageInfo(AImages: TCustomImageList; AIndex: Integer; AImage: TBitmap; AMask: TBitmap; APalette: IdxColorPalette = nil); overload;
#Parameters
Name | Type | Description |
---|---|---|
AImages | TCustom |
The source image list. |
AIndex | Integer | An index of the required image. |
AImage | TBitmap | Encapsulates a Windows bitmap (HBITMAP) and its palette (HPALETTE). |
AMask | TBitmap | Encapsulates a Windows bitmap (HBITMAP) and its palette (HPALETTE). |
APalette | Idx |
Exposes the functions that return stroke and fill colors by their names in the corresponding palettes. |
#Remarks
This procedure copies the bitmaps to the image containers passed as the AImage and AMask parameters. If the image has no transparency mask bitmap, the procedure fills the AMask container with the clBlack color.
Note
If you pass nil (in Delphi) or nullptr (in C++Builder) as the AImage and/or AMask parameter, the Get
See Also