Qu

pptx.add_text

Builtin index · File I/O

pptx.add_text(p, i, text, [x=], [y=], [w=100], [h=20], [size=], [bold=], [italic=], [color=], [font=], [align=])

Input: p, i, text, x, y, w, h, size, bold, italic, color, font, align · Output: no output

What it is

Adds a text box to slide i. Positions are millimetres from the top-left corner or lengths (20 mm); size in points. Newlines start new paragraphs.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
pptx.add_text(p, i, text, [x=], [y=], [w=100], [h=20], [size=], [bold=], [italic=], [color=], [font=], [align=])
p —not documented yet
i —Adds a text box to slide i.
text —Adds a text box to slide i.
x optionalnot documented yet
y optionalnot documented yet
w optional (default 100)not documented yet
h optional (default 20)not documented yet
size optionalsize in points.
bold optionalnot documented yet
italic optionalnot documented yet
color optionalnot documented yet
font optionalnot documented yet
align optionalnot documented yet
not documented yetNewlines start new paragraphs.

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.