StyledText.ParagraphAlignment
From Xojo Documentation
This item was deprecated in version 2019r2. Please use StyledText.ParagraphTextAlignment as a replacement. |
Method
This method is only available on macOS and Windows platforms. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
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.
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.