addTextFrame

addTextFrame(String text) method

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.

Returns

TextFrame