TTextShape.Text
TTextShape
property Text: String;
Unit
TeeTools
Description
Defines the text to display inside the shape.
Text might contain "line breaks" (the #13 character) to display multiple lines of text.
MyShape.Text := 'Hello' + #13 + 'World !' ;
The global constant TeeLineSeparator can also be used instead of "#13".
MyShape.Text := 'Hello' + TeeLineSeparator + 'World !' ;
See also: TextAlignment and AutoSize properties.