Label.TextUnit
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Label.FontUnit as a replacement. |
Property (As FontUnits )
aLabel.TextUnit = newFontUnitsValue
or
FontUnitsValue = aLabel.TextUnit
New in 2009r4
Supported for all project types and targets.
or
FontUnitsValue = aLabel.TextUnit
New in 2009r4
Supported for all project types and targets.
The units in which TextSize is measured.
Notes
The options are:
Class Constant |
---|
Default |
Inches |
Millimeter |
Pixel |
Point |
Example
This example sets the text to 16 point Futura.