StringShape.VerticalAlignment
From Xojo Documentation
This item was deprecated in version 2019r2. Please use TextShape.VerticalAlignment as a replacement. |
Property (As Alignment )
aStringShape.VerticalAlignment = newAlignmentValue
or
AlignmentValue = aStringShape.VerticalAlignment
New in 2009r3
Supported for all project types and targets.
or
AlignmentValue = aStringShape.VerticalAlignment
New in 2009r3
Supported for all project types and targets.
Sets the vertical alignment of the StringShape.
Notes
The choices are: Top, Baseline, or Bottom. The default is Baseline. The alignment is relative to the Object2D.X and Y properties.
Sample Code
This code aligns the StringShape to the top: