FMX.Controls.TTextSettingsInfo.TCustomTextSettings.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap default True;

C++

__property WordWrap = {default=1};

Properties

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

Description

Specifies whether the text managed by the current TTextSettings object wraps when it is longer than the container area of the TTextSettings object.

FMX.Controls.TTextSettingsInfo.TCustomTextSettings.WordWrap inherits from FMX.Graphics.TTextSettings.WordWrap. All content below this line refers to FMX.Graphics.TTextSettings.WordWrap.

Specifies whether the text managed by the current TTextSettings object wraps when it is longer than the container area of the TTextSettings object.

Set WordWrap to True to allow displaying multiple lines of a text. When WordWrap is True, the text that is too long for a container area wraps at the right margin and continues in additional lines.

Set WordWrap to False for the text to span onto a single line. However, in this case, the text that is too long for a container area appears truncated.

See Also