Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneViewGetDpiScale Method

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

Namespace: Ab4d.SharpEngine.Wpf
Assembly: Ab4d.SharpEngine.Wpf (in Ab4d.SharpEngine.Wpf.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static (float , float ) GetDpiScale(
	Visual visual
)

Parameters

visual  Visual
WPF visual (can be window or any other WPF control)

Return Value

ValueTupleSingle, Single
tuple with dpiScaleX and dpiScaleY
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Wpf.SharpEngineSceneView.GetDpiScale(System.Windows.Media.Visual)"]

See Also