FMX.Objects.TText.HorzTextAlign
Delphi
property HorzTextAlign: TTextAlign read GetHorzTextAlign write SetHorzTextAlign;
C++
__property Fmx::Types::TTextAlign HorzTextAlign = {read=GetHorzTextAlign, write=SetHorzTextAlign, nodefault};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
property | public | FMX.Objects.pas FMX.Objects.hpp |
FMX.Objects | TText |
Description
Spécifie comment le texte sera affiché en termes d'alignement horizontal.
La propriété HorzTextAlign spécifie comment le contrôle TText affichera le texte en termes d'alignement horizontal. HorzTextAlign peut prendre l'une des valeurs suivantes :
Center
(valeur par défaut) -- aligne le texte sur l'axe horizontal, au milieu du contrôle TText.Leading
-- aligne le texte sur l'axe horizontal, tout en haut à l'intérieur du contrôle TText.Trailing
-- aligne le texte sur l'axe horizontal, tout en bas à l'intérieur du contrôle TText.