Vcl.ImgList.TCustomImageList.Replace

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Replace(Index: Integer; Image, Mask: TBitmap);

C++

void __fastcall Replace(int Index, Vcl::Graphics::TBitmap* Image, Vcl::Graphics::TBitmap* Mask);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ImgList.pas
Vcl.ImgList.hpp
Vcl.ImgList TCustomImageList

Description

Replaces an image in the image list with a new image and mask.

Use the Replace method to replace the image at the Index position in the image list with a new Image and overlay Mask.

See Also