 |
SharpEngineSceneViewGetDpiScale Method |
Returns the dpiScaleX and dpiScaleY of the specified WPF visual (can be window or any other WPF control).
Namespace: Ab4d.SharpEngine.WpfAssembly: Ab4d.SharpEngine.Wpf (in Ab4d.SharpEngine.Wpf.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic static (float , float ) GetDpiScale(
Visual visual
)
Parameters
- visual Visual
- WPF visual (can be window or any other WPF control)
Return Value
ValueTupleSingle,
Singletuple with dpiScaleX and dpiScaleY
See Also