StyledText.ParagraphAlignment

From Xojo Documentation

Revision as of 19:09, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated|" to "{{DeprecatedItem|")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

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

Notes

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.