Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomImageList.GetImageInfo(HIMAGELIST,Integer,TBitmap,TBitmap) Method

Obtains the bitmap and transparency mask bitmap of the specified stored image.

#Declaration

Delphi
class procedure GetImageInfo(AHandle: HIMAGELIST; AIndex: Integer; AImage: TBitmap; AMask: TBitmap); overload;

#Parameters

Name Type Description
AHandle HIMAGELIST

A handle to 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).

#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 GetImageInfo procedure does not obtain the corresponding bitmap.

See Also