procedure Tfmain.ImageEnView1LayerSelectionChange(Sender: TObject); var bmp: TIEBitmap; begin // Show a preview in ImageEnView2 of the layer selected in ImageEnView1 bmp := ImageEnView2.IEBitmap; ImageEnView1.CurrentLayer.CopyToBitmap( bmp, ImageEnView2.IdealImageWidth, ImageEnView2.IdealImageWidth ); ImageEnView2.Update(); end;