DisplayDpi(int, int, double, double) constructor¶
Defined in
Type: DisplayDpi
Namespace: CrissCross.WPF.UI.Hardware
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Overloads¶
- 1.
public DisplayDpi(int DpiX, int DpiY, double DpiScaleX, double DpiScaleY) - 2.
public DisplayDpi(double dpiScaleX, double dpiScaleY) - 3.
public DisplayDpi(int dpiX, int dpiY)
1. Overload¶
public DisplayDpi(int DpiX, int DpiY, double DpiScaleX, double DpiScaleY)
Summary: Stores DPI information from which a Visual or UIElement is rendered.
Parameters
| Name | Type | Description |
|---|---|---|
DpiX | int | Gets the DPI on the X axis. |
DpiY | int | Gets the DPI on the Y axis. |
DpiScaleX | double | Gets the DPI scale on the X axis. |
DpiScaleY | double | Gets the DPI scale on the Y axis. |
2. Overload¶
public DisplayDpi(double dpiScaleX, double dpiScaleY)
Summary: Initializes a new instance of the DisplayDpi structure.
Parameters
| Name | Type | Description |
|---|---|---|
dpiScaleX | double | The DPI scale on the X axis. |
dpiScaleY | double | The DPI scale on the Y axis. |
3. Overload¶
public DisplayDpi(int dpiX, int dpiY)
Summary: Initializes a new instance of the DisplayDpi structure.
Parameters
| Name | Type | Description |
|---|---|---|
dpiX | int | The DPI on the X axis. |
dpiY | int | The DPI on the Y axis. |