ImageEn, unit iexBitmaps

TIEMultiBitmap.Assign

TIEMultiBitmap.Assign

Declaration

procedure Assign(Source: TObject; CopyParams: Boolean = True);

Description

Replace the existing content with the frames in TImageEnMView, TIEMultiBitmap, TIEBitmap, TBitmap, TImageList, TImage, TPicture or TGraphic.
if CopyParams is true then Params are also copied (otherwise they are cleared).

Note: To assign images without clearing the existing ones, use AppendImage

Example

// Replace the existing content with that from another TIEMultiBitmap
mbitmap1.Assign( mbitmap2 );