Freigeben über


DpiAwareness.GetDpiY(Visual) Method

Definition

Gets the y-coordinate (or vertical) DPI of the given Visual.

public:
[System::Runtime::CompilerServices::Extension]
 static double GetDpiY(System::Windows::Media::Visual ^ visual);
public static double GetDpiY (this System.Windows.Media.Visual visual);
static member GetDpiY : System.Windows.Media.Visual -> double
<Extension()>
Public Function GetDpiY (visual As Visual) As Double

Parameters

visual
Visual

The Visual from which to get the DPI.

Returns

The Visual's DPI.

Applies to