Form.ApplyAutoScaling Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

obsoleteCodeEntityM:System.Windows.Forms.ContainerControl.PerformAutoScale Note: This API is now obsolete.

This API supports the product infrastructure and is not intended to be used directly from your code.

Resizes the form according to the current value of the AutoScaleBaseSize property and the size of the current font.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[<ObsoleteAttribute("This method has been deprecated. Use the ApplyAutoScaling method instead.")>]
member ApplyAutoScaling : unit -> unit

This method determines the form size using the value of the AutoScaleBaseSize property and the Size value returned by the GetAutoScaleSize method.

.NET Framework
Available since 1.1
Return to top