Rect::GetBounds メソッド (gdiplustypes.h)

Rect::GetBounds メソッドは、この四角形のコピーを作成します。

構文

void GetBounds(
  [out] Rect *rect
);

パラメーター

[out] rect

型: Rect*

この四角形のコピーを受け取る Rect オブジェクトへのポインター。

戻り値

なし

必要条件

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

関連項目

ペン、直線、および四角形

Rect

Rect::GetBottom

Rect::GetLeft

Rect::GetRight

Rect::GetTop

RectF

ペンを使用した直線と四角形の描画