ConsoleRenderer.DpiRatio Property
Gets the current dots per inch (dpi) ratio of the screen.
Namespace: Microsoft.WindowsServerSolutions.Console.Shared
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
public static double DpiRatio { get; }
public:
property double DpiRatio {
static double get();
}
Public Shared ReadOnly Property DpiRatio As Double
Property Value
Type: System.Double
Remarks
The following numbers are examples of possible values for this property:
1, for 100% dpi
1.25, for 125% dpi
1.5, for 150% dpi
2, for 200% dpi
See Also
CurrentDpi
StandardDpi
ConsoleRenderer Class
Microsoft.WindowsServerSolutions.Console.Shared Namespace
Return to top