ConsoleRenderer.StandardDpi Property
Gets the standard dots per inch (dpi) value under which the console user interface was developed (for example, 96 dpi).
Namespace: Microsoft.WindowsServerSolutions.Console.Shared
Assembly: AdminCommon (in AdminCommon.dll)
Syntax
public static int StandardDpi { get; }
public:
property int StandardDpi {
static int get();
}
Public Shared ReadOnly Property StandardDpi As Integer
Property Value
Type: System.Int32
An System.Int32.
Remarks
Designers of custom controls need to take their current dpi values and scale their user interfaces relative to the standard 96 dpi to keep the proper proportions.
See Also
CurrentDpi
DpiRatio
ConsoleRenderer Class
Microsoft.WindowsServerSolutions.Console.Shared Namespace
Return to top