FMX.Text.TTextWordWrapping.GetLines
Delphi
class procedure GetLines(const AText: string; const ACanvas: TCanvas; const AMaxWidth: Integer;
var ALinesFound: TStringList; var AResWidth: Integer);
C++
__classmethod void __fastcall GetLines(const System::UnicodeString AText, Fmx::Graphics::TCanvas* const ACanvas, const int AMaxWidth, System::Classes::TStringList* &ALinesFound, int &AResWidth);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Text.pas FMX.Text.hpp |
FMX.Text | TTextWordWrapping |
Description
Fills ALinesFound with the text that fits on a certain Width (AMaxWidth).
Also fills the real maximum with what is found.