TextEdit.FontUnit

From Xojo Documentation

Revision as of 21:20, 21 July 2021 by Gperlman (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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