add_text_frame method
add_text_frame
Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.
Returns
New ITextFrame object.
def add_text_frame(self, text):
...
| Parameter | Type | Description |
|---|---|---|
| text | str | Default text for a new TextFrame. |
See Also
- class
IAutoShape - class
ITextFrame - module
aspose.slides - library
Aspose.Slides