In FMX environment, this property is only available using Delphi XE8 or higher. LineCount: Integer = Returns the total lines of text, according to the bounds of control. This property is read-only.