Declaration ​
pascal
function Empty: Boolean; override;Returns ​
| Type | Description |
|---|---|
Boolean | Returns True if the bitmap has zero area or an unallocated pixel buffer; otherwise False. |
Description ​
Empty returns True if the bitmap has zero pixel width or height.
Example ​
pascal
if not Bitmap.Empty then
Bitmap.Clear;