Environment.ScaleForDPI Method

Scales the element for high DPI settings.
Public Sub ScaleForDPI()
This language is not supported or no code example is available.
public void ScaleForDPI()
This language is not supported or no code example is available.
Remarks
 
This method needs to be called if the element is added outside of the InitializeComponents() to adjust the rendering for high dpi settings.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition