TIconImage.UpdateFromImage procedure
Updates the icon image from the specified raw image data.
Declaration
procedure UpdateFromImage(const AImage: TRawImage)Arguments
AImage | Raw image data stored in the method. |
Description
UpdateFromImage is a procedure used to update the icon image from
the specified raw image data.
AImage is a
TRawImage instance with the image content
stored in the
RawImage property in the class instance. The image
descriptor in AImage is examined to get the values stored in the Height and
Width properties. The color depth in AImage is converted and stored in the
PixelFormat property.
UpdateFromImage is called from the Create constructor when a
TRawImage or a TIconInfo argument is provided.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
