set_canvas_preset
Set a report page canvas to predefined dimensions (16:9, 4:3, letter, tooltip, mobile) or custom width/height, updating page size settings.
Instructions
Set a page's canvas to a named PRESET: 16:9 (1280x720), 4:3 (1024x768), letter (816x1056), tooltip (320x240) or mobile (320x568). preset=custom needs width+height. Writes the section size + pageSize object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| width | No | width in px (preset=custom) | |
| height | No | height in px (preset=custom) | |
| preset | Yes | 16:9 | 4:3 | letter | tooltip | mobile | custom | |
| reportSessionId | Yes |