From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As FontUnits )
aGroupBox.FontUnit = newFontUnitsValue
FontUnitsValue = aGroupBox.FontUnit

New in 2019r2

Supported for all project types and targets.

The unit in which FontSize is measured.

Sample Code

The following sets the font units to Millimeter.

Me.FontUnit = FontUnits.Millimeter