TCustomImageList.ReadData procedure
Reads image data for the default resolution from a stream.
Declaration
procedure ReadData(AStream: TStream); virtualArguments
AStream | Stream with the image data read in the method. |
Description
ReadData is a procedure used to read image data for the default
resolution from the stream specified in
AStream. ReadData allows
image data written using the
WriteData method to be stored in the
image list.
ReadData calls BeginUpdate to suspend OnChange
notifications when loading the image data from the stream.
EndUpdate is called when the image data has been loaded from the
stream.
ReadData calls the GetResolution method to locate the
TCustomImageListResolution class instance which uses the image
width in the Width property. The ReadData method in
TCustomImageListResolution is used to read image data from the stream in
AStream.
ReadData updates the internal Changed flag for the image list, and calls the
Change method to perform change notifications.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
