次の方法で共有


Region.GetHrgn メソッド

この Region オブジェクトを識別する Windows ハンドルを、指定のグラフィックス コンテキストで返します。

Public Function GetHrgn( _
   ByVal g As Graphics _) As IntPtr
[C#]
public IntPtr GetHrgn(Graphicsg);
[C++]
public: IntPtr GetHrgn(Graphics* g);
[JScript]
public function GetHrgn(
   g : Graphics) : IntPtr;

パラメータ

  • g
    この Region オブジェクトの描画先となる Graphics オブジェクト。

戻り値

この Region オブジェクトを識別する Windows ハンドル。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

Region クラス | Region メンバ | System.Drawing 名前空間