FMX.Objects.TText.GetTextSettingsClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetTextSettingsClass: TTextSettingsClass; virtual;

C++

virtual Fmx::Graphics::TTextSettingsClass __fastcall GetTextSettingsClass();

Properties

Type Visibility Source Unit Parent
function protected
FMX.Objects.pas
FMX.Objects.hpp
FMX.Objects TText

Description

Returns the class type that instance represents the used text settings.

GetTextSettingsClass returns the TTextSettingsClass class reference to the TTextSettingsClass class (or its descendant). An instance of such class provides Font, FontColor, HorzAlign, VertAlign, Trimming, WordWrap, and other text representation properties of a control. Some of these properties can be declared as published to be editable in the Object Inspector.

You can override the method in descendant classes to modify the default behavior.

See Also