TextAlignmentTypes Enumerator

Description

The set of horizontal alignment types for the paragraphs inside an annotation text block.


Defined in namespace "adsk::drawing" and the header file is <Drawing\DrawingTypeDefs.h>

Values

Name Value Description
CenterTextAlignmentType 1 Text is centered in the text block.
DistributedTextAlignmentType 4 Text is spaced out evenly across the full width of the text block.
JustifiedTextAlignmentType 3 Text is stretched to fill the full width of the text block.
LeftTextAlignmentType 0 Text is aligned to the left edge of the text block.
MixedTextAlignmentType 5 The paragraphs of the text block do not share one alignment. Only ever returned when reading; assigning it has no effect.
RightTextAlignmentType 2 Text is aligned to the right edge of the text block.
UndefinedTextAlignmentType 6 No alignment is set or the value is not supported. Returned when reading TextInput when textAlignment has not been set, or when the IPE value does not map to a known alignment. Assigning it is not supported.

Version

Introduced in version November 2026