FMX.Graphics.ITextSettings.ResultingTextSettings

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ResultingTextSettings: TTextSettings read GetResultingTextSettings;

C++

__property TTextSettings* ResultingTextSettings = {read=GetResultingTextSettings};

Properties

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

Description

Declares the property referencing an instance of the TTextSettings class.

Usually in classes supporting ITextSettings, the ResultingTextSettings property is used to keep final values of styled 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.

See Also