ReportPageNumberLabel.WordWrap

From Xojo Documentation

Property (As Boolean )
aReportPageNumberLabel.Wordwrap = newBooleanValue
or
BooleanValue = aReportPageNumberLabel.Wordwrap

Supported for all project types and targets.

If True, the multiline text will word wrap within the label boundaries.