Skip to main content

TcxCustomImageList.LoadFromStream(TStream) Method

Loads images and supplemental information from a stream.

Declaration

procedure LoadFromStream(AStream: TStream);

Parameters

Name Type Description
AStream TStream

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 the EcxUnsupportedImageListStreamFormat exception.

See Also