Form.ApplyAutoScaling 方法

定义

注意

This method has been deprecated. Use the ApplyAutoScaling method instead. http://go.microsoft.com/fwlink/?linkid=14202

注意

This method has been deprecated. Use the ApplyAutoScaling method instead. https://go.microsoft.com/fwlink/?linkid=14202

根据 AutoScaleBaseSize 属性的当前值和当前字体的大小来调整窗体大小。

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

注解

此方法使用 属性的值 AutoScaleBaseSizeSize 方法返回 GetAutoScaleSize 的值确定窗体大小。

适用于