RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap.Destroy Destructor

Disposes of the instance of the bitmap object.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TBitmap();

Destroy is the destructor for a TBitmap object. 

Do not call the destructor directly in an application. Instead, call Free. Free verifies that the bitmap object is not nil before it calls Destroy. 

Destroy releases the internal bitmap image (TBitmapImage object) and frees the canvas before calling the inherited destructor. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!