|
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.0.8865.1045
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