Writes the image content for multiple resolutions to the specified stream.
Source position: imglist.pp line 336
public procedure TCustomImageList.WriteAdvData( |
AStream: TStream |
); virtual; |
AStream |
|
Stream where the content for the image resolutions is stored. |
WriteAdvData is procedure used to write image data for multiple resolutions to the stream specified in AStream. WriteAdvData is similar to the WriteData method, but writes only the image resolutions other than the default resolution for the image list. Like the default resolution, image resolutions that were automatically created at design-time are also ignored in the method.
WriteAdvData uses the Resolutions enumerator to gather the image resolutions handled in the method. WriteAdvData writes an image list signature that identifies the storage format used in the stream. WriteAdvData writes an Integer value that indicates the number of resolutions included in the stream.
The WriteData method in TCustomImageListResolution is used to write the image content for each of the resolutions handled in the method. Data compression is enabled for each of the resolutions written to the stream.
WriteAdvData is used in the implementation of the DefineProperties and Equals methods.
Use WriteData to store the image content for the default resolution to a stream.
Use ReadAdvData to read the values written using the WriteAdvData method.
|
Provides access to the image resolutions (or sizes) used in the image lists. |
|
|
Defines properties used in the LCL component streaming mechanism. |
|
|
Compares the contents of the image lists. |
|
|
Writes image data for the default resolution to a stream. |
|
|
Provides multiple image resolutions in TCustomImageList. |
Lazarus Component Library (LCL) | Version 3.99-1b97b99691 (2024-09-01) | Home |