BevelButton.TextUnit
From Xojo Documentation
![]() |
This item was deprecated in version 2019r2. Please use BevelButton.FontUnit as a replacement. |
Property (As FontUnits )
aBevelButton.TextUnit = newFontUnitsValue
or
FontUnitsValue = aBevelButton.TextUnit
New in 2009r4
Supported for all project types and targets.
or
FontUnitsValue = aBevelButton.TextUnit
New in 2009r4
Supported for all project types and targets.
The units in which BevelButton.TextSize is measured. Use the class constants rather than the numeric values in code.
Notes
The options are:
Value | Class Constant |
---|---|
0 | Default |
1 | Pixel |
2 | Point |
3 | Inch |
4 | Millimeter |
Sample Code
Me.TextUnit = FontUnits.Point
See Also
FontUnits Enumeration