Form.ApplyAutoScaling 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 ()
- 属性
注解
此方法使用 属性的值 AutoScaleBaseSize 和 Size 方法返回 GetAutoScaleSize 的值确定窗体大小。