FMX.Graphics.TTextSettings.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap: Boolean read FWordWrap write SetWordWrap default False;

C++

__property bool WordWrap = {read=FWordWrap, write=SetWordWrap, default=0};

Properties

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

Description

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