Set bold, italic & underline
Find the shape
name
you want to update. 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_line
as boolean before anothertext_run
.For more options for
font_underline
please refer to this page [link].
Before vs After
Template Presentation
JSON Payload
{
"presentation": {
"template": "slides_as_template_bold.pptx",
"export_version": "Pptx2010",
"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?