iOSLabel.TextAlignment

From Xojo Documentation

Property (As Xojo.iOSTextAlignment )
aiOSLabel.TextAlignment = newXojo.iOSTextAlignmentValue
or
Xojo.iOSTextAlignmentValue = aiOSLabel.TextAlignment

Supported on Mobile (iOS).

Specifies the alignment for the text. The default value is iOSTextAlignment.Left.

Sample Code

Center the text:

Label1.TextAlignment = Xojo.iOSTextAlignment.Center