Class WinFormsGraphics
Windows Forms helpers for resolving the screen DPI, the corresponding DPI scale factor,
and whether the current process is DPI-aware.
Inheritance
WinFormsGraphics
Assembly: Reportman.Drawing.Forms.dll
public static class WinFormsGraphics
Properties
View Source
Declaration
public static float DPIScale { get; }
Property Value
Methods
View Source
Declaration
public static extern int GetProcessDpiAwareness(nint hprocess, out WinFormsGraphics.DpiAwareness dpiAwareness)
Parameters
Returns
View Source
Declaration
public static bool IsWindowsFormsDPIAware()
Returns
View Source
Declaration
public static int ScreenDPI()
Returns