Sign in Join
FPDoc Onlineexperiment

TRasterImage.Clear procedure

Member of TRasterImagepublicIn unit Graphics

Removes raw image data and frees the internal save stream.

Declaration

pascal
procedure Clear; override

Description

Clear is an overridden method used to remove raw image data and free the internal save stream in the class instance. No actions are performed in the method when Empty returns True.

Clears set the values in Height and Width to 0 (zero) to reflect the new size for the image. Clear calls the Changed method when a BeginUpdate process is not active.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.