FMX.Graphics.TTextSettings.VertAlign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property VertAlign: TTextAlign read FVertAlign write SetVertAlign default TTextAlign.Center;

C++

__property Fmx::Types::TTextAlign VertAlign = {read=FVertAlign, write=SetVertAlign, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TTextSettings

Description

Specifies how to display the text in terms of vertical alignment.

VertAlign can have one of the following values, defined in the TTextAlign type:

  • Center--aligns the text on a vertical axis, at the middle of the area containing the current TTextSettings object.
  • Leading---aligns the text on a vertical axis, at the topmost position inside the area containing the current TTextSettings object.
  • Trailing--aligns the text on a vertical axis, at the bottommost position inside the area containing the current TTextSettings object.

See Also