Skip to main content

Insert text

Put text into a slide's title or body placeholder, or add it as a new text box at a position given in points.

Command in the PowerPoint toolkit · id ooa.powerpoint/insert_text · 15 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
SlideNumberNo1-based slide number; the current slide (the one added or copied last) when empty, else the last.
TextStringYesText to insert; each line becomes a paragraph.
PlaceholderStringNononetitle or body replaces that placeholder's text; none adds a new text box.
XNumberNo50Text box left edge in points.
YNumberNo50Text box top edge in points.
WidthNumberNo400Text box width in points.
HeightNumberNo50Text box height in points.
Font sizeNumberNoFont size in points for the new text.
SessionStringNopowerpointPresentation session.
BoldBooleanNoBold on or off for the new text.
ItalicBooleanNoItalic on or off for the new text.
UnderlineBooleanNoUnderline on or off for the new text.
ColorStringNoHex colour for the new text.
FontStringNoFont name for the new text, e.g. Calibri.
AlignmentStringNoParagraph alignment of the new text; unchanged when empty.