Region::FromHRGN メソッド (gdiplusheaders.h)

Region::FromHRGN メソッドは、Windows グラフィックス デバイス インターフェイス (GDI) 領域から Windows GDI+ Region オブジェクトを作成します。

構文

Region * FromHRGN(
  [in] HRGN hRgn
);

パラメーター

[in] hRgn

種類: HRGN

既存の GDI 領域を処理します。

戻り値

種類: リージョン*

このメソッドは、新しい Region オブジェクトへのポインターを返します。

要件

   
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdiplusheaders.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll