RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMetafile.ReleaseHandle Method

Releases the Windows GDI object represented by the metafile.

Pascal
function ReleaseHandle: HENHMETAFILE;
C++
__fastcall HENHMETAFILE ReleaseHandle();

Call ReleaseHandle to release the resources used to represent the metafile. ReleaseHandle sets the Handle property to nil. NULL.  

Call ReleaseHandle before setting the Handle property, so that the resources associated with the metafile are not lost. 

 

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