Set text indentation

  1. Find the shape name you want to update. See here to find shape names.

  2. Specify the text need amending under content.

  3. Add indent settings text_indent.

Before and After

Template Presentation

JSON Payload

{
  "presentation": {
    "template": "slides_as_template_text_indent.pptx",
    "export_version": "Pptx2010",
    "slides": [
      {
        "type": "slide",
        "slide_index": 0,
        "shapes": [
          {
            "name": "Title 2",
            "content": "Text indent",
            "settings": {
              "text_indent": 40
            }
          }
        ]
      }
    ]
  }
}

Last updated