You can use ImageEnView2.assign( ImageEnView1 ) which will assign all content including layers from one ImageEnView to another.
If you only want to assign layers use:
for I := 0 to ImageEnView1.LayersCount - 1 do
begin
iLayer := ImageEnView2.LayersAdd; // append a new layer
ImageEnView2.Layers[ iLayer ].Assign( ImageEnView1.Layers[ i ] );
end;
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com