FMX.TextLayout.TTextLayout.MaxSize
Delphi
property MaxSize: TPointF read FMaxSize write SetMaxSize;
C++
__property System::Types::TPointF MaxSize = {read=FMaxSize, write=SetMaxSize};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | FMX.TextLayout.pas FMX.TextLayout.hpp |
FMX.TextLayout | TTextLayout |
Description
Specifies the maximum possible size of the current TTextLayout.
Use MaxSize to impose size limits to the current TTextLayout.
Use the MaxSize property to set or get the maximum height and width of the current TTextLayout. MaxSize is of TPointF type, and the X
coordinate specifies the maximum width, while the Y
coordinate specifies the maximum height.
The following image explains how the text is placed within the layout: