|
DXViewGetDpiScale Method |
Returns the dpiScaleX and dpiScaleY of the specified WPF visual (can be window or any other WPF control).
Namespace: Ab3d.DirectX.ControlsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public static void GetDpiScale(
Visual visual,
out double dpiScaleX,
out double dpiScaleY
)
Parameters
- visual Visual
- WPF visual (can be window or any other WPF control)
- dpiScaleX Double
- out dpiScaleX
- dpiScaleY Double
- out dpiScaleY
See Also