roImageCanvas: limit text to single line?

When drawing text on an roImageCanvas, it doesn’t appear to honor the TargetRect height. Is there a way to limit the text to a single line without wrapping, and truncate the text at the targetrect width?

You could always truncate the text first before drawing it.

RokuMarkN published a bit of code earlier today on the forum that could be adapted for that purpose fairly easily.

  • Joel