System.Windows.Forms.Form.ApplyAutoScaling Method

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

Syntax

[System.Obsolete("This method has been deprecated")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
protected void ApplyAutoScaling ()

Remarks

This method determines the form size using the value of the Form.AutoScaleBaseSize property and the Form.Size value returned by the Form.GetAutoScaleSize(System.Drawing.Font) method.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0