StyledTextPrinter.EndOfText
From Xojo Documentation
Read-Only Property (As Boolean )
BooleanValue = aStyledTextPrinter.EndOfText
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
True when there is no more text to print in the TextArea.
Notes
Use it to determine when to stop calling DrawBlock. See the examples.