TdxRichEditParagraphAlignment Enum
In This Article
Enumerates available paragraph alignment options.
#Declaration
Delphi
TdxRichEditParagraphAlignment = (
Left,
Right,
Center,
Justify
);
#Members
Name |
---|
Left
|
Right
|
Center
|
Justify
|
#Remarks
Options include:
Icon | Value | End-User Command | Description | Example |
---|---|---|---|---|
![]() |
Left | Toggle |
Aligns all text lines in a paragraph to the left document margin (the default option). Only the number of spaces characters between words determines the distance between them. | ![]() |
![]() |
Right | Toggle |
Aligns all text lines in a paragraph to the right document margin. The fixed distances between words depend on the number of delimiting space characters. | ![]() |
![]() |
Center | Toggle |
Centers all text lines in a paragraph between the left and right document margins. The distances between words are are identical to the “Left” and “Right” modes. | ![]() |
![]() |
Justify | Toggle |
Distributes all words evenly within each text line of a paragraph between the left and right document margins. A distance between words in a paragraph line depends on the total number of characters in all words that fit into the line. | ![]() |
The IdxRichEditParagraph interface’s Alignment property references the TdxRichEditParagraphAlignment type.
Note
Tdx
is a scoped enumeration type. Use the type name together with a scope resolution token (.
in Delphi or ::
in C++Builder) followed by an enumeration value to refer to this value. For example, use Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the Justify
value in code.
See Also