Vcl.ImgList.TCustomImageList.AddImage
Delphi
function AddImage(Value: TCustomImageList; Index: Integer): Integer;
C++
int __fastcall AddImage(TCustomImageList* Value, int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ImgList.pas Vcl.ImgList.hpp |
Vcl.ImgList | TCustomImageList |
Description
Adds single image from another image list.
Use AddImage to add a single image from another image list. Values specifies the source image list. Index indicates the specific image, where images are numbered from 0.
AddImage returns the new size of the image list.