set_element_box
Set a page element's top-left corner position, and optionally its width and height, in points.
Instructions
Set an element's position (and optionally size) in points. (Up to 2 calls.)
A convenience over updatePageElementTransform that lets you place a
bounding box by its top-left corner in points without computing an affine
matrix. Reads the element's current transform once (to preserve scale/shear
when size is omitted), then applies one absolute transform update.
Args: presentation_id: The presentation ID. element_id: The page element to move/resize. x_pt: Left edge (top-left X) in points. y_pt: Top edge (top-left Y) in points. width_pt: Desired visual width in points (optional; preserves current if omitted). height_pt: Desired visual height in points (optional; preserves current if omitted).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| element_id | Yes | ||
| x_pt | Yes | ||
| y_pt | Yes | ||
| width_pt | No | ||
| height_pt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||