GroupBox.TextUnit
From Xojo Documentation
| This item was deprecated in version 2019r2. Please use GroupBox.FontUnit as a replacement. |
Property (As FontUnits )
aGroupBox.TextUnit = newFontUnitsValue
or
FontUnitsValue = aGroupBox.TextUnit
Supported for all project types and targets.
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
