Back to Devexpress

TcxCustomImageList.LoadFromStream(TStream) Method

vcl-cximagelist-dot-tcxcustomimagelist-dot-loadfromstream-x28-system-dot-classes-dot-tstream-x29.md

latest1.7 KB
Original Source

TcxCustomImageList.LoadFromStream(TStream) Method

Loads images and supplemental information from a stream.

Declaration

delphi
procedure LoadFromStream(AStream: TStream);

Parameters

NameTypeDescription
AStreamTStream

The source stream with image list content.

|

Remarks

Call this procedure to clear the image list and repopulate it with images from a source stream. The LoadFromStream procedure also updates the BlendColor, BkColor, ColorDepth, Width, and Height properties with the corresponding values previously saved in addition to images by a SaveToStream procedure call.

Note

If the specified stream has an incorrect signature or an unsupported version, the LoadFromStream procedure raises an exception.

See Also

TcxCustomImageList.LoadFromFile Procedure

TcxCustomImageList.LoadFromResource Procedure

TcxCustomImageList Class

TcxCustomImageList Members

cxImageList Unit