EnvironmentBase.GetScalingLevelRatio Method

Gets scaling level ratio among displays with different dpi scale factors.
Protected Friend Function GetScalingLevelRatio() As Single
This language is not supported or no code example is available.
internal protected float GetScalingLevelRatio()
This language is not supported or no code example is available.

Return Value

float
Remarks
 
Used to get the correct font size when per-monitor DPI is enabled.

.NET Framework

Supported in: 4.8

In this article

Definition