Reads image data for the default resolution from a stream.
Source position: imglist.pp line 335
public procedure TCustomImageList.ReadData( |
AStream: TStream |
); virtual; |
AStream |
|
Stream with the image data read in the method. |
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.
|
Writes image data for the default resolution to a stream. |
|
|
Starts an update to the image list, and controls execution of the OnChange event. |
|
|
Finishes an update to the image list, and calls Change. |
|
|
Event handler signalled when the image list is changed. |
|
|
Sends change notifications when the image list is updated. |
|
|
Width of images in the default resolution for the image list. |
|
|
Gets the value for the indexed Resolution property. |
|
|
Provides indexed access to an image resolution with the specified image width. |
|
|
Implements an image resolution (or size) used in TCustomImageList. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |