FMX.Graphics.TTextSettings.Trimming
Delphi
property Trimming: TTextTrimming read FTrimming write SetTrimming default TTextTrimming.None;
C++
__property Fmx::Types::TTextTrimming Trimming = {read=FTrimming, write=SetTrimming, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.Graphics.pas FMX.Graphics.hpp |
FMX.Graphics | TTextSettings |
Description
Specifies the behavior of the text, when it overflows the area to draw the text.
Trimming may take the following values defined in the TTextTrimming type: None
, Character
, and Word
.
If the value of this property is not None
and the text does not fit in the drawing area, then it is trimmed to fit the area and an ellipsis sign is printed after the trimmed text.
- Note: Under the iOS platform, in the FireMonkey framework Trimming works only when
WordWrap = False
.