Region::Union(constGraphicsPath*) メソッド (gdiplusheaders.h)

Region::Union メソッドは、この領域を、それ自体のすべての部分 (交差および非インターセクト) と、指定したパスの内部のすべての部分に更新します。

構文

Status Union(
  [in] const GraphicsPath *path
);

パラメーター

[in] path

型: const GraphicsPath*

この Region オブジェクトの更新に使用するパスを指定する GraphicsPath オブジェクトへのポインター。

戻り値

種類: 状態

メソッドが成功した場合は、 Status 列挙の要素である Ok を返します。

メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。

要件

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

関連項目

Graphicspath

Rect

リージョン

状態