Click or drag to resize
AB4D logo

DXViewDpiScaleX Property

Gets or sets a double that represents a DPI scale factor in X direction: 1 means 96 DPI, 1.5 means 144 DPI, etc. (double.NaN is default value and means system default DPI setting - on loaded the double.NaN value is replaced by the system default DPI value).

Namespace: Ab3d.DirectX.Controls
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public double DpiScaleX { get; set; }

Property Value

Double
Remarks

DpiScaleX gets or sets a double that represents a DPI scale factor in X direction: 1 means 96 DPI, 1.5 means 144 DPI, etc.

Default value is double.NaN. This value means that system default DPI setting is used. On loaded the double.NaN value is replaced by the actual system default DPI value.

You also need to set the DpiScaleY property.

This value has no effect when WPF 3D rendering is used.

See Also