add_text_frame method
add_text_frame
Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.
def add_text_frame(self, text):
...
Parameter | Type | Description |
---|---|---|
text | str | Default text for a new TextFrame. |
Examples
The following sample code shows how to add watermark text in PowerPoint Presentation.
The following example shows how to create Text Box on Slide.
The following example shows how to add column in Text Box.
See Also
- class
AutoShape
- class
ITextFrame
- module
aspose.slides
- library
Aspose.Slides