Vcl.Graphics.TCanvas.GetHandle
Delphi
function GetHandle: HDC;
C++
HDC __fastcall GetHandle();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TCanvas |
説明
Handle プロパティの取得アクセサ メソッドを表します。
GetHandle は、Handle プロパティの値を読み取るたびに呼び出されます。GetHandle では RequiredState メソッドを使用して、キャンバスに有効なハンドルが割り当てられていることを保証します。