UI Framework ReferenceIDesignEditorDefinitionSetPrintArea

Interface: IDesignEditorDefinitionSetPrintArea

Provides properties to set up a print area.

For details, you can refer to the SetPrintArea command.

{
  "type": "design-editor",
  "name": "editor",
  "params": {
    "initial": { ... },
    "setPrintArea": {
      "options": {
        "preserveUserChanges": true,
        "updateRevertData": false
      },
      "data": {
        "designFile": "{{vars.designRoot + '/' + $['card-size']._.title}}"
      }
    }
  }
}

Hierarchy

Index

Properties

Properties

Optional after

after? : string | string[]

Inherited from IDesignEditorCommandDefinition.after

Defined in src/widgets/au-widget-design-editor/IAuWidgetDesignEditor.ts:32

The next commands to be executed after this command completes.


data

data: CustomersCanvas.IframeApi.ObjectModel.IPrintAreaTemplate | CustomersCanvas.IframeApi.ObjectModel.IPrintAreaDefinition

Defined in src/widgets/au-widget-design-editor/IAuWidgetDesignEditor.ts:288

The print area definition.


options

options: any

Defined in src/widgets/au-widget-design-editor/IAuWidgetDesignEditor.ts:292

Additional configuration parameters. For details, see the reference.


Optional surfaceIndex

surfaceIndex? : number

Defined in src/widgets/au-widget-design-editor/IAuWidgetDesignEditor.ts:290

The index of a surface that should be modified (the current surface if omitted).