FMX.Controls.TTextSettingsInfo.DefaultTextSettings

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property DefaultTextSettings: TTextSettings read FDefaultTextSettings write SetDefaultTextSettings;

C++

__property Fmx::Graphics::TTextSettings* DefaultTextSettings = {read=FDefaultTextSettings, write=SetDefaultTextSettings};

Properties

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

Description

Stores a TTextSettings type object keeping the default values of the text representation properties.

DefaultTextSettings is initialized in Create with the following values:

Font.Size := 11 ;          // depends on the platform     
Font.Family = 'Tahoma';    // depends on the platform
Font.Style := [] ;
FontColor := TAlphaColorRec.Black;
TextAlign := TTextAlign.Leading;
VertTextAlign := TTextAlign.Center;
Trimming := TTextTrimming.None;
WordWrap := False;

See Also