au-widget-design-editor/Commands/set-surfaces-command
Classes
SetSurfacesCommand
A command that sets up a print area.
For details, you can refer to the ISetSurfacesOptions.
{
"type": "design-editor",
"name": "editor",
"params": {
"initial": { ... },
"setSurfaces": {
"surfaces": `[{
"123-456-678"
}]`
}
}
}
Extends
Methods
execute()
execute(params): Promise<void>;
Executes this command.
Parameters
| Parameter | Type | Description |
|---|---|---|
params | ISetSurfacesOptions | Parameters for the command. |
Returns
Promise<void>