StyledText.ParagraphAlignment

From Xojo Documentation

Revision as of 19:01, 4 March 2010 by SteffX (talk) (SMBot: new page by automated transformation)
(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.

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.