StyledTextPrinter.EOF

From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aStyledTextPrinter.EOF

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.