Back to Devexpress

TcxCustomImageList.AddImage(TCustomImageList,Integer) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-addimage-x28-vcl-dot-imglist-dot-tcustomimagelist-system-dot-integer-x29.md

latest3.5 KB
Original Source

TcxCustomImageList.AddImage(TCustomImageList,Integer) Method

Appends a single specific image from the specified image list.

Declaration

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

Parameters

NameTypeDescription
AImagesTCustomImageList

The source image list.

| | AIndex | Integer |

An image index in the source list.

|

Returns

TypeDescription
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

TcxCustomImageList.Add

TcxCustomImageList.AddBitmap

TcxCustomImageList.AddIcon

TcxCustomImageList.AddMasked

TcxCustomImageList.Clear

TcxCustomImageList.FileLoad

TcxCustomImageList.GetInstRes

TcxCustomImageList.Insert

TcxCustomImageList.InsertIcon

TcxCustomImageList.InsertMasked

TcxCustomImageList.LoadImage

TcxCustomImageList.Replace

TcxCustomImageList.ReplaceIcon

TcxCustomImageList.ReplaceMasked

TcxCustomImageList.ResInstLoad

TcxCustomImageList.ResourceLoad

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit