Sign in Join
FPDoc Onlineexperiment

TCustomIcon.AssignImage procedure

Member of TCustomIconpublicIn unit Graphics

Copies image data from the source image to the current icon image.

Declaration

pascal
procedure AssignImage(ASource: TRasterImage); virtual

Description

AssignImage is used to copy image data from ASource to the currently selected image for the icon.

AssignImage is typically used to assign the icon image when Add is used to create a new icon image with the required attributes (PixelFormat, Height, Width). AssignImage is called from the Assign method to store a single raster image to the icon.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.