Form.GetAutoScaleSize Method (Font)
Gets the size when autoscaling the form based on a specified font.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
[<ObsoleteAttribute("This method has been deprecated. Use the AutoScaleDimensions property instead. http://go.microsoft.com/fwlink/?linkid=14202")>] static member GetAutoScaleSize : font:Font -> SizeF
You can use this method to determine the size a form would autoscale to for a specific font before applying the font to the form. If you want to determine the size a form is autoscaled to based on the font currently assigned to the form, use the AutoScaleBaseSize property.
Available since 1.1