procedure DestroyMetaPict(MetaPict: Cardinal);
void __fastcall DestroyMetaPict(unsigned int MetaPict);
Frees a metafile resource given its handle.
You do not need to use DestroyMetaPict to free metafiles represented using TMetafile. These are freed automatically when the TMetafile instance is destroyed. However, if you assign a new value to the Handle property of TMetafile, thereby replacing its old metafile, you must free the old metafile by calling DestroyMetaPict.