Back to Devexpress

TcxCustomImageList.ReplaceMasked(Integer,TGraphic,TColor) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-replacemasked-x28-system-dot-integer-vcl-dot-graphics-dot-tgraphic-vcl-dot-graphics-dot-tcolor-x29.md

latest3.5 KB
Original Source

TcxCustomImageList.ReplaceMasked(Integer,TGraphic,TColor) Method

Replaces a specific image within the list with the specified image that is masked with a color.

Declaration

delphi
procedure ReplaceMasked(AIndex: Integer; AImage: TGraphic; AMaskColor: TColor);

Parameters

NameTypeDescription
AIndexInteger

The position within the image list.

| | AImage | TGraphic |

The source image container.

| | AMaskColor | TColor |

The transparency mask color.

|

Remarks

Note

The transparency mask bitmaps are ignored if the Masked property is set to False.

See Also

TcxCustomImageList.Add

TcxCustomImageList.AddBitmap

TcxCustomImageList.AddIcon

TcxCustomImageList.AddImage

TcxCustomImageList.AddImages

TcxCustomImageList.AddMasked

TcxCustomImageList.Clear

TcxCustomImageList.CopyImages

TcxCustomImageList.Delete

TcxCustomImageList.FileLoad

TcxCustomImageList.GetInstRes

TcxCustomImageList.Insert

TcxCustomImageList.InsertIcon

TcxCustomImageList.InsertMasked

TcxCustomImageList.LoadImage

TcxCustomImageList.Replace

TcxCustomImageList.ReplaceIcon

TcxCustomImageList.ResInstLoad

TcxCustomImageList.ResourceLoad

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit