Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Form::ApplyAutoScaling Method ()

 
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)

protected:
[ObsoleteAttribute("This method has been deprecated. Use the ApplyAutoScaling method instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
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:
© 2017 Microsoft