DpiAwareness.GetDpiYScale(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 scale of the given Visual.
public:
[System::Runtime::CompilerServices::Extension]
static double GetDpiYScale(System::Windows::Media::Visual ^ visual);
public static double GetDpiYScale (this System.Windows.Media.Visual visual);
static member GetDpiYScale : System.Windows.Media.Visual -> double
<Extension()>
Public Function GetDpiYScale (visual As Visual) As Double
Parameters
Returns
The Visual's DPI scale.