StyledText.ParagraphAlignment
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Method
StyledText.ParagraphAlignment(Index as Integer) As Integer
Supported for all project types and targets.
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:
AlignDefault (0): Default alignment)
AlignLeft (1): Left aligned
AlignCenter (2): Centered
AlignRight (3): Right aligned
See the example for an illustration of this syntax.
Not supported with Linux TextFields.