Back to Devexpress

TcxTextAlignX Enum

vcl-cxdrawtextutils-2edc87cb.md

latest933 B
Original Source

TcxTextAlignX Enum

Enumerates horizontal text alignment options.

Declaration

delphi
TcxTextAlignX = (
    taLeft,
    taCenterX,
    taRight,
    taJustifyX,
    taDistributeX
);

Members

Name
taLeft
taCenterX
taRight
taJustifyX
taDistributeX

Remarks

Options include:

ValueDescription
taLeftThe text is aligned to the left of an item’s drawing rectangle.
taCenterXThe text is horizontally centered within an item’s drawing rectangle.
taRightThe text is right aligned of an item’s drawing rectangle.
taJustifyXThe text is truncated if it exceeds an item’s width.
taDistributeXThe words in the text are distributed evenly between the left and right edges of the item.

See Also

TcxTextAlignY

cxDrawTextUtils Unit