ImageEn, unit imageenview

TImageEnView.ClearAll

TImageEnView.ClearAll


Declaration

procedure ClearAll();


Description

Removes all content from the control, by removing all layers (with LayersClear) and resetting the background image (with Blank).


Comparison of Methods

Method Description
Clear Fills the current image with the background color and removes the alpha channel
Blank Calls Clear and resets the image size to 1 x 1
LayersClear Removes all of the layers
ClearAll Resets the image (calling Blank) and removes all layers (calling LayersClear)


Example

// Completely remove all content
ImageEnView1.ClearAll();


See Also

LayersClear
Clear
Blank