TextHorizontalAlignment

References
Horizontal location of text attach point relative to text

Enum values

NameValueDescription
Left0Attach at left of text lines (Independent of glyphs being displayed.)
Center1Attach point at center of text horizontal advance (not glyph bounding box)
Auto3Used for Leaders only Attach point adjusts to Right or Left depending on leader tail direction in view If tail direction is to the Left, alignment is Right If tail direction is to the Right, alignment is Left
Justify4Stretch each line to fill the wrap rectangle width by distributing slack across word gaps. Only meaningful when text wrapping is enabled and a non-zero wrap width is set; with wrapping off, behaves as Left. The final line of a paragraph (or any line ending in a hard break) is rendered Left.