次の方法で共有


Screen.GetBounds メソッド

ディスプレイの範囲を取得します。

オーバーロードの一覧

指定したコントロールの最大領域を保持するディスプレイの範囲を取得します。

[Visual Basic] Overloads Public Shared Function GetBounds(Control) As Rectangle

[C#] public static Rectangle GetBounds(Control);

[C++] public: static Rectangle GetBounds(Control*);

[JScript] public static function GetBounds(Control) : Rectangle;

指定したポイントを保持するディスプレイの範囲を取得します。

[Visual Basic] Overloads Public Shared Function GetBounds(Point) As Rectangle

[C#] public static Rectangle GetBounds(Point);

[C++] public: static Rectangle GetBounds(Point);

[JScript] public static function GetBounds(Point) : Rectangle;

指定した四角形の最大部分を保持するディスプレイの範囲を取得します。

[Visual Basic] Overloads Public Shared Function GetBounds(Rectangle) As Rectangle

[C#] public static Rectangle GetBounds(Rectangle);

[C++] public: static Rectangle GetBounds(Rectangle);

[JScript] public static function GetBounds(Rectangle) : Rectangle;

参照

Screen クラス | Screen メンバ | System.Windows.Forms 名前空間