Click or drag to resize
AB4D logo

DXViewGetDpiScale Method

Returns the dpiScaleX and dpiScaleY of the specified WPF visual (can be window or any other WPF control).

Namespace: Ab3d.DirectX.Controls
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
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