ImageEn, unit ievect

TImageEnVect.LayersRemove

TImageEnVect.LayersRemove


Declaration


procedure LayersRemove(idx: integer);


Description


Removes the specified layer and any objects that it contains. At least one layer must be present.

Parameter Description
idx Index of the layer to remove (0 = background/first layer)

         

Example


// Delete the selected layer and all its objects
ImageEnVect1.LayersRemove(ImageEnVect1.LayersCurrent);
ImageEnVect1.Update;