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属性的值和由GetAutoScaleSize方法返回的Size值确定窗体大小。This method determines the form size using the value of the AutoScaleBaseSize property and the Size value returned by the GetAutoScaleSize method.

适用于