DpiHelper.GetDeviceHeight(Window) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the window's Height in device units
public:
double GetDeviceHeight(System::Windows::Window ^ window);
public double GetDeviceHeight (System.Windows.Window window);
member this.GetDeviceHeight : System.Windows.Window -> double
Public Function GetDeviceHeight (window As Window) As Double
Parameters
- window
- Window
Window to inspect
Returns
Height in device units