Vcl.Graphics.TMetafile.ReleaseHandle
Delphi
function ReleaseHandle: HENHMETAFILE;
C++
NativeUInt __fastcall ReleaseHandle();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TMetafile |
説明
メタファイルによって表される Windows GDI オブジェクトを解放します。
ReleaseHandle メソッドを呼び出すとメタファイルを表すのに使用するリソースを解放できます。ReleaseHandle は Handle プロパティを nil NULL に設定します。
メタファイルに関連付けられたリソースが失われないように,ReleaseHandle メソッドを呼び出してから Handle プロパティを設定します。