Declaration
procedure Swap(OtherLayer: TIELayer);
Description
Swaps the content of two layers.
Note: Both layers must be of the same
layer type
// Swap the current layer with the second one
ImageEnView1.CurrentLayer.Swap( ImageEnView1.Layers[ 1 ]);
ImageEnView1.Update();