Qu

pptx.set_shape_text

Builtin index · File I/O

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.

CodeInputOutputDescription
pptx.set_shape_text(p, i, shape, text)
p —not documented yet
i —not documented yet
shape —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.