DpiHelper::GetDeviceRect Method (Window^)

Visual Studio 2015
 

Gets the window's rectangle in device units.

Namespace:   Microsoft.VisualStudio.Utilities.Dpi
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
Rect GetDeviceRect(
	Window^ window
)

Parameters

window
Type: System.Windows::Window^

The window to inspect.

Return Value

Type: System.Windows::Rect

The rectangle in device units.

Return to top
Show: