Set Shape Position
set_shape_positionMove or resize shapes in an open PowerPoint presentation by specifying new position or dimensions, returning updated coordinates.
Instructions
Move and/or resize a shape. Only provided arguments are changed.
Args: presentation: Presentation name or path (None = active presentation). slide_index: 1-based slide index (required). shape: Shape name, or its 1-based index on the slide (required). left, top, width, height: New position/size in points (None = unchanged).
Returns: JSON with the shape's resulting position and size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| left | No | ||
| shape | No | ||
| width | No | ||
| height | No | ||
| slide_index | No | ||
| presentation | No |