指定したポイントを保持するディスプレイの範囲を取得します。
Overloads Public Shared Function GetBounds( _
ByVal pt As Point _) As Rectangle
[C#]
public static Rectangle GetBounds(Pointpt);
[C++]
public: static Rectangle GetBounds(Pointpt);
[JScript]
public static function GetBounds(
pt : Point) : Rectangle;
パラメータ
- pt
ディスプレイの範囲の取得条件となる座標を指定する Point 。
戻り値
指定したポイントを保持するディスプレイの範囲を指定する Rectangle 。指定したポイントを保持するディスプレイがない複数ディスプレイ環境では、そのポイントに最も近いディスプレイが返されます。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
Screen クラス | Screen メンバ | System.Windows.Forms 名前空間 | Screen.GetBounds オーバーロードの一覧