次の方法で共有


Region コンストラクタ (RectangleF)

指定の RectangleF 構造体から新しい Region を初期化します。

名前空間: System.Drawing
アセンブリ: System.Drawing (system.drawing.dll 内)

構文

'宣言
Public Sub New ( _
    rect As RectangleF _
)
'使用
Dim rect As RectangleF

Dim instance As New Region(rect)
public Region (
    RectangleF rect
)
public:
Region (
    RectangleF rect
)
public Region (
    RectangleF rect
)
public function Region (
    rect : RectangleF
)

パラメータ

解説

このメソッドは、四角形の内部を使用して、新しい Region を作成します。内部は rect パラメータで定義されます。

プラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 2.0、1.1、1.0

参照

関連項目

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