FMX.Objects.TText.HorzTextAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HorzTextAlign: TTextAlign read GetHorzTextAlign write SetHorzTextAlign;

C++

__property Fmx::Types::TTextAlign HorzTextAlign = {read=GetHorzTextAlign, write=SetHorzTextAlign, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TText

Description

Specifies how the text will be displayed in terms of horizontal alignment.

The HorzTextAlign property specifies how the TText control will display the text in terms of horizontal alignment. HorzTextAlign can have one of the following values:

  • Center (default)--aligns the text on a horizontal axis, at the middle of the TText control.
  • Leading--aligns the text on a horizontal axis, at the topmost position inside the TText control.
  • Trailing--aligns the text on a horizontal axis, at the bottommost position inside the TText control.

See Also