Vcl.Graphics.TMetafile.ReleaseHandle

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function ReleaseHandle: HENHMETAFILE;

C++

NativeUInt __fastcall ReleaseHandle();

プロパティ

種類 可視性 ソース ユニット
function public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TMetafile

説明

メタファイルによって表される Windows GDI オブジェクトを解放します。

ReleaseHandle メソッドを呼び出すとメタファイルを表すのに使用するリソースを解放できます。ReleaseHandleHandle プロパティを nil NULL に設定します。

メタファイルに関連付けられたリソースが失われないように,ReleaseHandle メソッドを呼び出してから Handle プロパティを設定します。

関連項目