Back to Devexpress

TcxCustomImageList.GetMask(Integer,TBitmap) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-getmask-x28-system-dot-integer-vcl-dot-graphics-dot-tbitmap-x29.md

latest1.3 KB
Original Source

TcxCustomImageList.GetMask(Integer,TBitmap) Method

Obtains the transparency mask bitmap from the specified image.

Declaration

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

Parameters

NameTypeDescription
AIndexInteger

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

TcxCustomImageList.GetImage

TcxCustomImageList.GetImageInfo

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit