Interface Manager
C4Interface.h

TextElement::SetText

Sets the text stored in a text element.
Prototype

void SetText(const char *text);

Parameters
text A pointer to the text to store in the text element. This can be nullptr.
Description
The SetText function sets the text stored in a text element. If the text parameter is not nullptr, then the string that it points to is copied into the text element. There is no limit to the length of the string. If the text parameter is nullptr, then any text previously stored in the text element is deleted.
See Also
TextElement::GetText