Vcl.Graphics.TMetafile.ReleaseHandle
Delphi
function ReleaseHandle: HENHMETAFILE;
C++
NativeUInt __fastcall ReleaseHandle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TMetafile |
Description
Releases the Windows GDI object represented by the metafile.
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.