Method GetScreenScalingFactor
- Namespace
- SharpVectors.Runtime
- Assembly
- SharpVectors.Runtime.Wpf.dll
GetScreenScalingFactor(string)
Gets scaling factor for a monitor This is defined as current pixel size relative to effective DPI
public static double GetScreenScalingFactor(string deviceName = null)
Parameters
deviceNamestringMonitor device name or null for the primary monitor