Partager via


DpiHelper.SetDeviceHeight(Window, Double) Method

Definition

Sets the window's Height using device units

public:
 void SetDeviceHeight(System::Windows::Window ^ % window, double deviceHeight);
public void SetDeviceHeight (ref System.Windows.Window window, double deviceHeight);
member this.SetDeviceHeight : Window * double -> unit
Public Sub SetDeviceHeight (ByRef window As Window, deviceHeight As Double)

Parameters

window
Window

Window to modify

deviceHeight
Double

New height in device units

Applies to