Show: Delphi C++
Display Preferences

FMX.Types.TTextControl.VertTextAlign

From XE2 API Documentation
Jump to: navigation, search

Delphi

property VertTextAlign: TTextAlign read FVertTextAlign write SetVertTextAlign default TTextAlign.taCenter;

C++

__property TTextAlign VertTextAlign = {read=FVertTextAlign, write=SetVertTextAlign, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.Types.pas
FMX.Types.hpp
FMX.Types TTextControl

Description

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

The VertTextAlign property specifies how the TTextControl object will display the text in terms of vertical alignment. VertTextAlign can have one of the following values:

  • taCenter (default)--aligns the text on a vertical axis, at the middle of the TTextControl object.
  • taLeading--aligns the text on a vertical axis, at the topmost position inside the TTextControl object.
  • taTrailing--aligns the text on a vertical axis, at the bottommost position inside the TTextControl object.

See Also

Personal tools
Previous Versions
Translations