D3DImage Constructor (Double, Double)
.NET Framework (current version)
Initializes a new instance of the D3DImage class with the specified display resolution.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- dpiX
-
Type:
System::Double
The display resolution on the x-axis.
- dpiY
-
Type:
System::Double
The display resolution on the y-axis.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | dpiX or dpiY is less than zero. |
The default display resolution is 1/96th inch.
SecurityPermission
for access to unmanaged resources. Security action: Demand. Associated enumeration: SecurityPermissionFlag::UnmanagedCode
.NET Framework
Available since 3.0
Available since 3.0
Show: