pptx.add_text
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.
| Code | Input | Output | Description |
pptx.add_text(p, i, text, [x=], [y=], [w=100], [h=20], [size=], [bold=], [italic=], [color=], [font=], [align=]) | p —not documented yeti —Adds a text box to slide i.text —Adds a text box to slide i.x optionalnot documented yety optionalnot documented yetw optional (default 100)not documented yeth optional (default 20)not documented yetsize optionalsize in points.bold optionalnot documented yetitalic optionalnot documented yetcolor optionalnot documented yetfont optionalnot documented yetalign optionalnot documented yet | not documented yet | Newlines start new paragraphs. |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.