addTextFrame

addTextFrame(String text) function

Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.

Parameters

NameTypeDescription
textStringDefault text for a new TextFrame.

Result

TextFrame