FMX.Objects.TText.VertTextAlign
Delphi
property VertTextAlign: TTextAlign read GetVertTextAlign write SetVertTextAlign;
C++
__property Fmx::Types::TTextAlign VertTextAlign = {read=GetVertTextAlign, write=SetVertTextAlign, 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 vertical alignment.
The VertTextAlign property specifies how the TText control will display the text in terms of vertical alignment. VertTextAlign can have one of the following values:
Center
(default)--aligns the text on a vertical axis, at the middle of the TText control.Leading
--aligns the text on a vertical axis, at the topmost position inside the TText control.Trailing
--aligns the text on a vertical axis, at the bottommost position inside the TText control.