Vcl.ImgList.TCustomImageList.InsertMasked

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InsertMasked(Index: Integer; Image: TBitmap; MaskColor: TColor);

C++

void __fastcall InsertMasked(int Index, Vcl::Graphics::TBitmap* Image, System::Uitypes::TColor MaskColor);

Properties

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

Description

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

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.

See Also