From Xojo Documentation
| This item was deprecated in version 2019r2.
Please use TextShape.VerticalAlignment as a replacement.
Property (As Alignment )
Sets the vertical alignment of the StringShape.
The choices are: Top, Baseline, or Bottom. The default is Baseline. The alignment is relative to the Object2D.X and Y properties.
This code aligns the StringShape to the top: