Paragraph.Alignment Property

Syntax

Alignment as Integer


Gets the text alignment of the paragraph. You can use either the integer values or the class constants, AlignDefault, AlignLeft, AlignCenter, or AlignRight, to set or get the alignment:
AlignDefault (0): Default alignment)
AlignLeft (1): Left aligned
AlignCenter (2): Centered)
AlignRight (3): Right aligned
To set the alignment of a paragraph, call the ParagraphAlignment method of the StyledText class.

You can use Paragraph or the EditField alignment constants to set a paragraph alignment using the ParagraphAlignment method.