Form.ApplyAutoScaling Form.ApplyAutoScaling Form.ApplyAutoScaling Form.ApplyAutoScaling Method

定义

警告

此 API 现已过时。

根据 AutoScaleBaseSize 属性的当前值和当前字体的大小来调整窗体大小。Resizes the form according to the current value of the AutoScaleBaseSize property and the size of the current font.

protected:
 void ApplyAutoScaling();
[System.Obsolete("This method has been deprecated. Use the ApplyAutoScaling method instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
protected void ApplyAutoScaling ();
member this.ApplyAutoScaling : unit -> unit
Protected Sub ApplyAutoScaling ()

注解

此方法可确定使用的值的窗体大小AutoScaleBaseSize属性和Size返回值GetAutoScaleSize方法。This method determines the form size using the value of the AutoScaleBaseSize property and the Size value returned by the GetAutoScaleSize method.

适用于