Hide or remove shape

To hide or remove a shape (text box, image, table, chart, etc)

  1. Select the shape by name you want to modify. See here to find shape names.

  2. Use Remove (boolean) to delete a shape from the slide

  3. Use is_hidden (boolean) to hide the shape. Can be unhidden using PowerPoint GUI.

Reference: shapes

Download: input.zip | output.pptx


{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "shapes": [
          {
            "name": "Rectangle 1",
            "is_hidden": true
          },
          {
            "name": "Rectangle 5",
            "remove": true
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?