RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMetafileImage.Destroy Destructor

Disposes of the instance of a metafile image.

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

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

Destroy frees the metafile handle and palette before calling the inherited Destroy. 

 

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