resize_page
Adjust a page's canvas to exact pixel dimensions, saving the size so it persists in Power BI Desktop. Provide the page and new width/height.
Instructions
Resize a page's canvas to an explicit width x height (pixels). Writes the section size + the pageSize object so it sticks in Desktop. For named presets use set_canvas_preset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| width | Yes | canvas width in px | |
| height | Yes | canvas height in px | |
| reportSessionId | Yes |