FMX.Edit.Style.TStyledEdit.TextWidth
Delphi
function TextWidth(const AStart, ALength: Integer): Single;
C++
float __fastcall TextWidth(const int AStart, const int ALength);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Edit.Style.pas FMX.Edit.Style.hpp |
FMX.Edit.Style | TStyledEdit |
Description
Returns the width of the rectangle that contains the text of this edit control.
TextWidth is a protected method used to return the width of the rectangle that contains the text displayed by this edit control.