Skip to main content

TcxCustomImageList.GetMask(Integer,TBitmap) Method

Obtains the transparency mask bitmap from the specified image.

Declaration

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