RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomImageList.InsertMasked Method

Inserts a bitmap at a specified position, creating the mask from a specified transparent color.

Pascal
procedure InsertMasked(Index: Integer; Image: TBitmap; MaskColor: TColor);
C++
__fastcall InsertMasked(int Index, TBitmap Image, TColor MaskColor);

Use the InsertMasked method to insert a masked image into the image list. The new image is inserted following the image specified by Index. Use MaskColor to identify the color in the image used to generate the Mask

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!