Method GetDpiScale
GetDpiScale(Control)
Gives DPI scale value for the specified control.
public static float GetDpiScale(Control control)
Parameters
control
ControlControl to process.
Returns
- float
The floating value indicates the ratio between the standard Dpi scale and the control's Dpi scale.