FMX.Controls.TTextSettingsInfo.ResultingTextSettings

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ResultingTextSettings: TTextSettings read FResultingTextSettings;

C++

__property Fmx::Graphics::TTextSettings* ResultingTextSettings = {read=FResultingTextSettings};

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TTextSettingsInfo

Description

Keeps final values of text representation properties. These values are really used to draw texts in a control.

ResultingTextSettings keeps a TTextSettings object that manages the final values of the text representation properties. These values are really used to draw texts in a control.

To obtain values stored in ResultingTextSettings, a control uses the StyledSettings property. For example, if StyledSettings contains the TStyledSetting.Family value, then the TFont.Family value is taken from the DefaultTextSettings. (That is the font family name defined in the loaded style is used. The font family name defined by the programmer in the Object Editor is ignored.) Oppositely, if StyledSettings does not contain TStyledSetting.Family, then the font family name defined by the programmer in the Object Editor is used and the font family name defined in the loaded style is ignored.

The TTextSettings class define properties keeping values of the FontColor, TextAlign, VertTextAlign, Trimming, WordWrap, and Font (TFont.Family, TFont.Size, TFont.Style) elements defining visual parameters of a text representation.

RecalculateTextSettings updates the ResultingTextSettings.

See Also