FMX.Types.TTextTrimming

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTextTrimming = (None, Character, Word);

C++

enum class DECLSPEC_DENUM TTextTrimming : unsigned int { None, Character, Word, ttNone _DEPRECATED_ATTRIBUTE3("Use TTextTrimming.None")  = 0x0, ttCharacter _DEPRECATED_ATTRIBUTE3("Use TTextTrimming.Character")  = 0x1, ttWord _DEPRECATED_ATTRIBUTE3("Use TTextTrimming.Word")  = 0x2 };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Specifies the behavior of the text when it overflows the content area.

TTextTrimming may take the following values:

Value Meaning

None

No text trimming is performed.

Character

Text is trimmed at the character closest to the trimming edge.

Word

Text is trimmed at the end of the first full word closest to the trimming edge.

Note: For Android and iOS platforms, Trimming works only when WordWrap = False.

See Also