add_text_frame method

add_text_frame

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

Returns

New ITextFrame object.

def add_text_frame(self, text):
    ...
ParameterTypeDescription
textstrDefault text for a new TextFrame.

See Also