Show: Delphi C++
Display Preferences

FMX.Types.TTextAlign

From XE3 API Documentation
Jump to: navigation, search

Delphi

TTextAlign = (taCenter, taLeading, taTrailing);

C++

enum class DECLSPEC_DENUM TTextAlign : unsigned int { taCenter, taLeading, taTrailing };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Specifies the text alignment of a control within its parent.

To set the text alignment of a control, set the TextAlign property for the horizontal axis and the VertTextAlign property for the vertical axis.

TTextAlign can have the following values:

Value Meaning

taCenter

The text is moved to the center of the parent area.

taLeading

The text is moved to the beginning of the parent area.

taTrailing

The text is moved to end of the parent area.

See Also

Personal tools
Translations