Skip to main content

TdxRichEditParagraphAlignment Enum

Enumerates available paragraph alignment options.

Declaration

TdxRichEditParagraphAlignment = (
    Left,
    Right,
    Center,
    Justify
);

Members

Name
Left
Right
Center
Justify

Remarks

Options include:

Icon Value End-User Command Description Example
Left ToggleParagraphAlignmentLeft 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 ToggleParagraphAlignmentRight 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 ToggleParagraphAlignmentCenter 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 ToggleParagraphAlignmentJustify 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

TdxRichEditParagraphAlignment 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 TdxRichEditParagraphAlignment.Justify (in Delphi) or TdxRichEditParagraphAlignment::Justify (in C++Builder) to refer to the Justify value in code.

See Also