Skip to main content

au-widget-design-editor/Commands/set-print-area-command

Classes

SetPrintAreaCommand

A command that sets up a print area.

For details, you can refer to the IDesignEditorDefinitionSetPrintArea.

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

Extends

Methods

execute()
execute(params): Promise<void>;

Executes this command.

Parameters
ParameterTypeDescription
params| IDesignEditorDefinitionSetPrintArea | IDesignEditorDefinitionSetPrintArea[]Parameters for the command.
Returns

Promise<void>

Overrides

DesignEditorWidgetCommand.execute

Was this page helpful?