FMX.Memo.TMemo.TextSettings

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TextSettings: TTextSettings read GetTextSettings write SetTextSettings;

C++

__property TextSettings;

Properties

Type Visibility Source Unit Parent
property published
FMX.Memo.pas
FMX.Memo.hpp
FMX.Memo TMemo

Description

Stores a TTextSettings type object, which handles the text representation properties to be used for drawing the text in this control.

TextSettings stores all text properties of a TTextSettings type object. It stores them as styled text representation properties, whose values can be loaded from a style, like in the case of all other text properties and text methods defined in TTextSettings type objects. TextSettings stores styled text representation properties whose values are loaded from a style (see StyledSettings), so the values of styled properties must be set manually.

The styled text representation properties of the TMemo controls are TextAlign, WordWrap, FontColor, and Font (TFont.Family, TFont.Size, and TFont.Style).

When you use the text representation properties stored in ITextSettings.TextSettings, remember that TextAlign corresponds to HorzAlign.

See Also