Hi Pierre
You can use:
// Remove layer of a specific name
for i := ImageEnView1.LayersCount - 1 downto 1 do
if SameText( ImageEnView1.Layers[ i ].Name. aDelName ) then
begin
ImageEnView1.LayersRemove( i );
Break;
end;
Nigel
Xequte Software
www.imageen.com