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