affinity_set_document_settings
Updates a document's units, DPI, pixel width/height, and background transparency, then returns the revised settings. Use session_uuid to target a specific document; otherwise it applies to the current one.
Instructions
Change a document's setup and return the updated settings. Supports units, dpi, pixel width/height, and transparent_background. Changing dpi, size, or transparency rewrites document setup; other settings are preserved, but background transparency resets to opaque unless transparent_background is given. Defaults to the current document; pass session_uuid to target a specific one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| units | No | ||
| session_uuid | No | ||
| width_pixels | No | ||
| height_pixels | No | ||
| transparent_background | No |