pptx.set_shape_text
pptx.set_shape_text(p, i, shape, text)
Input: p, i, shape, text · Output: no output
What it is
Replaces a text box's, placeholder's or shape's text, one paragraph per line, keeping the first run's formatting. *Added in v0.4.5*
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
pptx.set_shape_text(p, i, shape, text) | p —not documented yeti —not documented yetshape —Replaces a text box's, placeholder's or shape's text, one paragraph per line, keeping the first run's formatting.text —Replaces a text box's, placeholder's or shape's text, one paragraph per line, keeping the first run's formatting. | not documented yet | *Added in v0.4.5*. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.