Form.ApplyAutoScaling Method

Definition

Caution

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

Caution

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

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

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 ()
Attributes

Remarks

This method determines the form size using the value of the AutoScaleBaseSize property and the Size value returned by the GetAutoScaleSize method.

Applies to