Back to Devexpress

TcxCustomImageList.LoadFromFile(string) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-loadfromfile-x28-system-dot-string-x29.md

latest1.4 KB
Original Source

TcxCustomImageList.LoadFromFile(string) Method

Loads images and supplemental information from a file.

Declaration

delphi
procedure LoadFromFile(const AFileName: string);

Parameters

NameTypeDescription
AFileNamestring

The path to a source file with image list content.

|

Remarks

Call this procedure to clear the image list and repopulate it with images from a source file created by a SaveToFile procedure call. The LoadFromFile procedure also updates the BlendColor, BkColor, ColorDepth, Width, and Height properties with the corresponding values that the source file stores.

See Also

LoadFromResource(THandle,string,PChar)

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit