Robuta

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.form.getautoscalesize?view=windowsdesktop-10.0 Form.GetAutoScaleSize(Font) Method (System.Windows.Forms) | Microsoft Learn Gets the size when autoscaling the form based on a specified font. windows formsfontmethodsystemmicrosoft