Centering multiline text in canvas

Unfortunately, you have to split the text into the lines.

I logged an enhancement request as the Xojo framework should do this for us:
<https://xojo.com/issue/64833>

You might be able to use the Styled Text Printer replacement class I created. See the following forum topic with the download link I posted on May 24th: