PgLayout.setText

Sets the text of the layout.

Note that if you have used Layout.setMarkup or Layout.setMarkupWithAccel on layout before, you may want to call Layout.setAttributes to clear the attributes set on the layout from the markup as this function does not clear attributes.

class PgLayout
void
setText
(
string text
)

Parameters

text string

a valid UTF-8 string