Vcl.Graphics.TMetafile.ReleaseHandle

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also