Hide or remove shape

  1. Specify name of shape to be amended. This page outlines how to find out name of the shape.

  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.

Before:

Template Presentation

JSON Payload

{
  "presentation": {
    "template": "slides_as_template_hide_remove.pptx",
    "export_version": "Pptx2010",
    "slides": [
      {
        "type": "slide",
        "slide_index": 0,
        "shapes": [
          {
            "name": "Title 1",
            "is_hidden": true
          },
          {
            "name": "Rectangle 5",
            "remove": true
          }
        ]
      }
    ]
  }
}

Last updated