DashboardCanvasService.removeCanvasObjects Method

Removes objects from the canvas. This action is undo-able.
 

Parameters

adaptersOrViewModels

Type: Array
ElementType: dundas.view.controls.Adapter or dundas.controls.DesignObjectViewModel
The adapters or viewmodels of the objects to remove.
notUndoable

Type: Boolean
True to make action undoable.
suppressWarning

Type: Boolean - May be null
(Optional) True to suppress warning.
options

Type: Object - May be null
(Optional) Options: 
     isUndo           [type: "Boolean" default: "false"]  - True to designate this command as a result of an undo action.
     isRedo           [type: "Boolean" default: "false"]  - True to designate this command as a result of a redo action.