Skip to main content

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​
ParameterTypeDescription
paramsISetSurfacesOptionsParameters for the command.
Returns​

Promise<void>

Overrides​

DesignEditorWidgetCommand.execute

Was this page helpful?