FMX.TextLayout.TTextLayout.WordWrap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property WordWrap: Boolean read FWordWrap write SetWordWrap;

C++

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

Properties

Type Visibility Source Unit Parent
property public
FMX.TextLayout.pas
FMX.TextLayout.hpp
FMX.TextLayout TTextLayout

Description

Specifies whether the text within the TTextLayout wraps when it is longer than the width of the layout.

Set WordWrap to True to allow the TTextLayout to display multiple lines of text. When WordWrap is True, the text that is too long to fit in the TTextLayout wraps at the right margin and continues in additional lines.

Set WordWrap to False for the text to span onto a single line of the TTextLayout.

See Also