From Xojo Documentation


StyledText.ParagraphAlignment(Index as Integer) As Integer

Supported for all project types and targets.

Aligns the paragraph indicated by Index. Index is zero-based.


Assign an alignment to ParagraphAlignment using one of the TextField's or the Paragraph's class constants. The constants are:

Class Constant Description
AlignDefault Default alignment
AlignLeft Left aligned
AlignCenter Centered
AlignRight Right aligned

Not supported with Linux TextFields.