Table of Contents

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

deviceName string

Monitor device name or null for the primary monitor

Returns

double