When setting the font size of point 10 in VB6:
Me.FontName = "Verdana" Me.FontSize = 10 Debug.Print Me.FontSize
The font size is 9.75. However, when the same thing is done in VB.NET:
Me.Font = New System.Drawing.Font("Verdana", 10) Console.WriteLine(Me.Font.Size)
The reported size is 10. Can someone explain the difference here? My guess is that VB6 uses the .75 step because my system is set to 96 DPI and .NET does not use the specified step or report its use, but I'm not sure.
source share