document_resize
Resize an SVG document's page size while preserving element geometry. Set width, height, unit, and anchor to adjust the canvas without moving or scaling content.
Instructions
Changes the SVG page size with page_only semantics while preserving element geometry. Requires the current document revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | page_only | |
| path | Yes | ||
| unit | Yes | ||
| width | Yes | ||
| anchor | No | ||
| height | Yes | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | ||
| warnings | Yes | ||
| backupCreated | Yes |