TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

Class: 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"
      }]
    }
  }
}

Hierarchy

Index

Methods

Methods

execute

execute(params: ISetSurfacesOptions): Promise‹void›

Overrides DesignEditorWidgetCommand.execute

Executes this command.

Parameters:

Name Type Description
params ISetSurfacesOptions Parameters for the command.

Returns:Promise‹void›