FMX.Controls.TTextControl.VertTextAlign
Delphi
property VertTextAlign: TTextAlign read GetVertTextAlign write SetVertTextAlign default TTextAlign.Center;
C++
__property Fmx::Types::TTextAlign VertTextAlign = {read=GetVertTextAlign, write=SetVertTextAlign, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TTextControl |
Description
Specifies how the text will be displayed in terms of vertical alignment.
The VertTextAlign property specifies how the TTextControl control displays the text in terms of vertical alignment. VertTextAlign can have one of the following values (defined in TTextAlign):
Center
(default)--aligns the text on a vertical axis, at the middle of the TTextControl object.Leading
--aligns the text on a vertical axis, at the topmost position inside the TTextControl object.Trailing
--aligns the text on a vertical axis, at the bottommost position inside the TTextControl object.
When you use text representation properties stored in ITextSettings.TextSettings, remember that VertTextAlign corresponds to VertAlign.