Set bold, italic & underline
Select the shape by
nameyou want to modify. See here to find shape names.Specify the text need amending under
text_run. Text within one textbox can be split into multiple chunks.Add font settings for selected text under
text_properties.Insert
new_lineas boolean before anothertext_run.For more options for
font_underlineplease refer to this page [link].
Before vs After


Template Presentation
JSON Payload
{
"presentation": {
"template": "slides_as_template_bold.pptx",
"slides": [
{
"slide_index": 0,
"shapes": [
{
"name": "Title 1",
"text": [
{
"text_run": "Text bold\n",
"text_properties": {
"font_bold": true
}
},
{
"text_run": "Text italic\n",
"text_properties": {
"font_italic": true
}
},
{
"text_run": "Text underline\n",
"text_properties": {
"font_underline": "single"
}
}
]
}
]
}
]
}
}Last updated
Was this helpful?