Name
playout:SetText -- set text
Synopsis
playout:SetText(text$[, length])
Function
Sets the text of the layout.

This function validates text and renders invalid UTF-8 with a placeholder glyph.

Note that if you have used playout:SetMarkup() or playout:SetMarkupWithAccel() on the layout before, you may want to call playout:SetAttributes() to clear the attributes set on the layout from the markup as this function does not clear attributes.

Inputs
text$
the text
length
optional: maximum length of text in bytes (defaults to -1 which means length of text$)

Show TOC