ScaleHelperGetScale Method

Overload List

GetScale(Control) Gets the current scale factor of the specified control. If per-monitor DPI awareness is not enabled, it always returns SystemScale.
GetScale(Graphics) Gets the current scale factor of the specified Graphics object.
GetScale(IntPtr) Gets the current scale factor of the specified window handle. If the handle is invalid or per-monitor DPI awareness is not enabled, it always returns the same value as SystemScale.
GetScale(Screen) Gets the current scale factor of the specified Screen.

See Also