TextShape.FontUnit
From Xojo Documentation
Property (As FontUnits )
aBevelButton.FontUnit = newFontUnitsValue
or
FontUnitsValue = aBevelButton.FontUnit
New in 2019r2
Supported for all project types and targets.
or
FontUnitsValue = aBevelButton.FontUnit
New in 2019r2
Supported for all project types and targets.
The units in which BevelButton.FontSize is measured. Use FontUnits rather than the numeric values in code.
Sample Code
Me.FontUnit = FontUnits.Point