Form.ApplyAutoScaling Method ()

 
obsoleteCodeEntityM:System.Windows.Forms.ContainerControl.PerformAutoScaleNote: 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.  http://go.microsoft.com/fwlink/?linkid=14202")]
protected void ApplyAutoScaling()

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
Show: