page_resize
Resize an SVG document page to specific width and height, keeping drawings centered or top-left and scaling backgrounds. Use for A4 or custom layouts.
Instructions
Set the page size in user units (e.g. 210 x 297 for A4 in a mm document). anchor='center' keeps the drawing centred on the new page; 'top-left'/'none' leave content where it is. Backgrounds are resized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| anchor | No | top-left | |
| doc_id | No | ||
| height | Yes | ||
| preview | No |