Label.TextAlign
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Label.TextAlignment as a replacement. |
Property (As Integer )
aLabel.TextAlign = newIntegerValue
or
IntegerValue = aLabel.TextAlign
Supported for all project types and targets.
or
IntegerValue = aLabel.TextAlign
Supported for all project types and targets.
The alignment of the text.
Notes
Use the following class constants:
Value | Description |
---|---|
AlignLeft | Left alignment |
AlignCenter | Center Alignment |
AlignRight | Right Alignment |
Example
Label1.TextAlign = Label.AlignRight