Skip to main content

TcxCustomImageList.AddImage(TCustomImageList,Integer) Method

Appends a single specific image from the specified image list.

Declaration

function AddImage(AImages: TCustomImageList; AIndex: Integer): Integer;

Parameters

Name Type Description
AImages TCustomImageList

The source image list.

AIndex Integer

An image index in the source list.

Returns

Type Description
Integer

The new image count in the list.

Remarks

Note

To load a continuous set of images from another image list, call the AddImages or CopyImages procedure instead. To remove a specific image from the list, call the Delete procedure.

See Also