GroupBox.TextUnit

From Xojo Documentation

Property (As FontUnits )
aGroupBox.TextUnit = newFontUnitsValue
or
FontUnitsValue = aGroupBox.TextUnit

Supported for all project types and targets.

The unit in which TextSize is measured.

Notes

Use the folowing FontUnit class constants. The choices are:

Description
Default
Pixel
Point
Inch
Millimeter

Sample Code

The following sets the font units to Millimeter.

Me.TextUnit = FontUnits.Millimeter