RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomImageList.AddImage Method

Adds single image from another image list.

Pascal
function AddImage(Value: TCustomImageList; Index: Integer): Integer;
C++
__fastcall int AddImage(TCustomImageList Value, int Index);

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. 

 

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