ImageEn, unit imageenview

TImageEnView.Blank

TImageEnView.Blank


Declaration

procedure Blank;


Description

Resets the image size to 1x1 (Width x Height).

Note: Blank also calls Clear


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

ImageEnView1.IO.LoadFromFile('image.tif'); // Load image
...
ImageEnView1.Blank; // free memory


See Also

- LayersClear
- Clear
- ClearAll