StringShape.TextUnit
From Xojo Documentation
This item was deprecated in version 2019r2. Please use TextShape.FontUnit as a replacement. |
Property (As FontUnits )
aStringShape.TextUnit = newFontUnitsValue
or
FontUnitsValue = aStringShape.TextUnit
Supported for all project types and targets.
or
FontUnitsValue = aStringShape.TextUnit
Supported for all project types and targets.
The units in which TextSize is measured. The options are given in the following table.
Value |
---|
Default |
Pixel |
Point |
Inch |
Millimeter |
Example
This example sets the units to points using the class constant.