VisualTreeHelper::SetRootDpi Method (Visual^, DpiScale)
Updates the DPI information of a Visual. It can only be called on a Visual without a parent.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- visual
-
Type:
System.Windows.Media::Visual^
A Visual object target.
- dpiInfo
-
Type:
System.Windows::DpiScale
DPI information for the target Visual.
.NET Framework
Available since 4.6.2
Available since 4.6.2
Show: