TCustomImageList.WriteAdvData procedure
Writes the image content for multiple resolutions to the specified stream.
Declaration
procedure WriteAdvData(AStream: TStream); virtualArguments
AStream | Stream where the content for the image resolutions is stored. |
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
