TextEdit.FontUnit

From Xojo Documentation

Property (As FontUnits )
aTextEdit.FontUnit = newFontUnitsValue
or
FontUnitsValue = aTextEdit.FontUnit

New in 2019r2

Supported for all project types and targets.

The units in which FontSize is measured.

Notes

See the FontUnits enumeration for valid values.

Example

This example is in the Initialized event of the control. It sets the font unit to Pixel.

Me.FontUnit = FontUnits.Pixel