Click or drag to resize
AB4D logo

DXViewDpiScaleY Property

Gets or sets a double that represents a DPI scale factor in Y 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.0.8865.1045
Syntax
C#
public double DpiScaleY { get; set; }

Property Value

Double
Remarks

DpiScaleY gets or sets a double that represents a DPI scale factor in Y 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 DpiScaleX property.

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

See Also