add_shape
Add a shape to a Visio page by specifying type, coordinates, and optional text and styling.
Instructions
Add a shape to a Visio page. Coordinates are in inches from the top-left corner.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X position in inches from left edge. | |
| y | Yes | Y position in inches from top edge. | |
| text | No | Text label for the shape. | |
| type | Yes | Shape type. | |
| style | No | ||
| width | No | Width in inches (optional, has sensible default). | |
| height | No | Height in inches (optional, has sensible default). | |
| pageIndex | No | 0-based page index. Default: first page. |