DpiAwareness.GetDpiY(Visual) 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 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
Returns
The Visual's DPI.