Class WinFormsGraphics
Inherited Members
Namespace: Reportman.Drawing.Forms
Assembly: Reportman.Drawing.Forms.dll
Syntax
public static class WinFormsGraphics
Properties
DPIScale
Declaration
public static float DPIScale { get; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
GetProcessDpiAwareness(nint, out DpiAwareness)
Declaration
public static extern int GetProcessDpiAwareness(nint hprocess, out WinFormsGraphics.DpiAwareness dpiAwareness)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | hprocess | |
| WinFormsGraphics.DpiAwareness | dpiAwareness |
Returns
| Type | Description |
|---|---|
| int |
IsWindowsFormsDPIAware()
Declaration
public static bool IsWindowsFormsDPIAware()
Returns
| Type | Description |
|---|---|
| bool |
ScreenDPI()
Declaration
public static int ScreenDPI()
Returns
| Type | Description |
|---|---|
| int |