ImageEn, unit iexLayers

TIELayer.Swap

TIELayer.Swap


Declaration


procedure Swap(OtherLayer: TIELayer);


Description


Swaps the content of two layers.

Note: Both layers must be of the same Kindlayer type


Example


// Swap the current layer with the second one
ImageEnView1.CurrentLayer.Swap( ImageEnView1.Layers[ 1 ]);
ImageEnView1.Update();