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.GetMask(Integer,TBitmap) Method

Obtains the transparency mask bitmap from the specified image.

#Declaration

Delphi
procedure GetMask(AIndex: Integer; AMask: TBitmap);

#Parameters

Name Type Description
AIndex Integer

An index of the required image.

AMask TBitmap

A transparency mask bitmap.

#Remarks

Pass -1 as the AIndex parameter to obtain the transparency mask bitmaps of all the stored images. In this case, the GetMask procedure forms a single bitmap from the masks of all individual images within the list. The GetMask procedure returns the resulting bitmap created from the stored transparency mask bitmaps as the AMask parameter.

See Also