Screen.GetBounds 메서드

정의

디스플레이의 범위를 검색합니다.

오버로드

Name Description
GetBounds(Control)

지정된 컨트롤의 가장 큰 부분을 포함하는 디스플레이의 범위를 검색합니다.

GetBounds(Point)

지정된 점을 포함하는 디스플레이의 범위를 검색합니다.

GetBounds(Rectangle)

지정된 사각형의 가장 큰 부분을 포함하는 디스플레이의 범위를 검색합니다.

GetBounds(Control)

Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs

지정된 컨트롤의 가장 큰 부분을 포함하는 디스플레이의 범위를 검색합니다.

public:
 static System::Drawing::Rectangle GetBounds(System::Windows::Forms::Control ^ ctl);
public static System.Drawing.Rectangle GetBounds(System.Windows.Forms.Control ctl);
static member GetBounds : System.Windows.Forms.Control -> System.Drawing.Rectangle
Public Shared Function GetBounds (ctl As Control) As Rectangle

매개 변수

ctl
Control

Control 표시 범위를 검색할 대상입니다.

반품

Rectangle 지정된 컨트롤을 포함하는 디스플레이의 범위를 지정하는 A입니다. 지정된 컨트롤을 포함하는 디스플레이가 없는 여러 디스플레이 환경에서는 컨트롤에 가장 가까운 디스플레이가 반환됩니다.

적용 대상

GetBounds(Point)

Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs

지정된 점을 포함하는 디스플레이의 범위를 검색합니다.

public:
 static System::Drawing::Rectangle GetBounds(System::Drawing::Point pt);
public static System.Drawing.Rectangle GetBounds(System.Drawing.Point pt);
static member GetBounds : System.Drawing.Point -> System.Drawing.Rectangle
Public Shared Function GetBounds (pt As Point) As Rectangle

매개 변수

pt
Point

Point 표시 범위를 검색할 좌표를 지정하는 A입니다.

반품

Rectangle 지정된 점을 포함하는 디스플레이의 범위를 지정하는 A입니다. 지정된 점을 포함하는 디스플레이가 없는 여러 디스플레이 환경에서는 점과 가장 가까운 디스플레이가 반환됩니다.

적용 대상

GetBounds(Rectangle)

Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs
Source:
Screen.cs

지정된 사각형의 가장 큰 부분을 포함하는 디스플레이의 범위를 검색합니다.

public:
 static System::Drawing::Rectangle GetBounds(System::Drawing::Rectangle rect);
public static System.Drawing.Rectangle GetBounds(System.Drawing.Rectangle rect);
static member GetBounds : System.Drawing.Rectangle -> System.Drawing.Rectangle
Public Shared Function GetBounds (rect As Rectangle) As Rectangle

매개 변수

rect
Rectangle

Rectangle 표시 범위를 검색할 영역을 지정하는 A입니다.

반품

지정된 사각형을 포함하는 디스플레이의 범위를 지정하는 A Rectangle 입니다. 지정된 사각형을 포함하는 모니터가 없는 여러 디스플레이 환경에서는 사각형에 가장 가까운 모니터가 반환됩니다.

적용 대상