StyledText.ParagraphAlignment Function

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

Syntax
result = StyledText.ParagraphAlignment( Index )

Parameters
Index | Integer

Return Value
Result | Integer

# Notes

Assign an alignment to ParagraphAlignment using one of the EditField'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 EditFields.