Interface ICommandManager
Methods
execute(name, args)
Declaration
execute?(name: SurfaceSwitchCommand.switchToSurface, args: ISwitchToSurfaceParams<TSurface>): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ProductCommand.resize, args: IResizeArgs<TProduct, TSurface, TItem, TPrintArea>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: SurfaceCommand.addItems, args: IAddItemsCommandArgs<TSurface, TContainer, TItem, TGroupItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: SurfaceCommand.setBleed, args: ISetBleedCommandArgs<TSurface, TMargin>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: SurfaceCommand.setSlug, args: ISetSlugCommandArgs<TSurface, TMargin>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.deleteItems, args: IDeleteItemsCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.cloneItems, args: ICloneItemsCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.addContent, args: IAddContentCommandArgs<TPlaceholderItem, TContentItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.alignItems, args: IAlignItemsCommandArgs<TPrintArea, TSafetyLine, TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.groupAlign, args: IGroupAlignCommandArgs, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.bringItems, args: IBringItemsCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: SurfaceSwitchCommand.getNextSurface, args?: IGetNextSurfaceCmdName): Promise<TSurface>;
Parameters
Returns
Type |
Description |
Promise<TSurface> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.moveItem, args: IMoveItemCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.createItem, args: ICreateItemCommandArgs, historyUpdateMode?: HistoryUpdateMode): Promise<TItem>;
Parameters
Returns
Type |
Description |
Promise<TItem> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.editItems, args: IEditItemsCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.setImageMetadata, args: ISetImageMetadataCommandArgs<TImageItem, TPlaceholderItem, TImageMetaData, TRotatedRectangleF>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.setImageItem, args: ISetImageItemCommandArgs<TImageItem, TPlaceholderItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.placeholderContentScale, args: IPlaceholderContentScaleCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.placeholderContentReset, args?: IPlaceholderContentResetCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.changeBarcodeFormat, args: IChangeBarcodeFormatCommandArgs<TItem, TBarcodeFormat>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.changeColumnCount, args: IChangeColumnCountCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.placeholderContentRotate, args: IPlaceholderContentRotateCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name)
Declaration
execute?(name: SurfaceSwitchCommand.switchToNextSurface): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.insertItemsIntoArea, args: IInsertItemsIntoAreaCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.changeLayout, args: IChangeLayoutCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.groupItems, args: IGroupItemsCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.ungroupItems, args: IUngroupItemsCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.replaceGroupItemContent, args: IReplaceGroupItemContentCommandArgs<TItem, TGroupItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.convertGroupIntoLayout, args: IConvertGroupIntoLayoutArgs<TGroupItem>, historyUpdateMode?: HistoryUpdateMode): Promise<TLayoutItem[]>;
Parameters
Returns
Type |
Description |
Promise<TLayoutItem[]> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.convertLayoutIntoGroup, args: IConvertLayoutIntoGroupArgs<TLayoutItem>, historyUpdateMode?: HistoryUpdateMode): Promise<TGroupItem[]>;
Parameters
Returns
Type |
Description |
Promise<TGroupItem[]> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.translateItems, args: ITranslateItemCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.convertItemToPlaceholder, args: IConvertItemToPlaceholderCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<TPlaceholderItem>;
Parameters
Returns
Type |
Description |
Promise<TPlaceholderItem> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.convertPlaceholderToItem, args: IConvertPlaceholderToItemCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<TItem>;
Parameters
Returns
Type |
Description |
Promise<TItem> |
|
execute(name)
Declaration
execute?(name: SurfaceSwitchCommand.switchSurfaceForward): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.placeItemsToArea, args: IPlaceItemsToAreaCommandArgs<TItem, TRectangleF>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.convertTextItem, args: IConvertTextItemCommandArgs<TBaseTextItem>, historyUpdateMode?: HistoryUpdateMode): Promise<TPlainTextItem>;
Parameters
Returns
Type |
Description |
Promise<TPlainTextItem> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.transformItems, args: ITransformItemsCommandArgs<TItem, TMatrix>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.rotateItems, args: IRotateItemsCommandArgs<TItem, TPointF>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.fixUnsupportedText, args: IFixUnsupportedTextCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<TBaseTextItem>;
Parameters
Returns
Type |
Description |
Promise<TBaseTextItem> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.replaceItemCommand, args: IReplaceItemCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.newTranslateItems, args: INewTranslateItemsCommandArgs<TItem, TPointF>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.resizeItems, args: IResizeItemsCommandArgs<TItem, TPointF>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: ItemsCommand.editPlaceholder, args: IEditPlaceholderCommandArgs<TPlaceholderItem>): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ItemsCommand.distributeItems, args: IDistributeItemsCommandArgs<TItem>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name)
Declaration
execute?(name: SurfaceSwitchCommand.switchSurfaceBackward): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: SelectionCommand.selectItems, args: ISelectItemsCommandArgs<TItem>): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name)
Declaration
execute?(name: SelectionCommand.selectFirst): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name)
Declaration
execute?(name: SelectionCommand.clearSelection): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: SelectionCommand.selectItemsByRect, args: ISelectItemsByRectArgs<TRectangleF>): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name)
Declaration
execute?(name: SelectionCommand.selectAll): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: ZoomCommand.zoomToItems, args: IZoomToItemsCommandArgs<TItem>): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: ZoomCommand.zoomToSafetyLine, args: IZoomToSafetyLineCommandArgs<TSafetyLine>): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name)
Declaration
execute?(name: ZoomCommand.zoomToSelection): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: ZoomCommand.setZoom, args: ISetZoomCommandArgs): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args)
Declaration
execute?(name: ViewerCommand.moveViewPort, args: IMoveViewportCommandArgs<TPointF>): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ProductCommand.rotateProduct, args: IRotateProductCmdArgs, historyUpdateMode?: HistoryUpdateMode): Promise<number>;
Parameters
Returns
Type |
Description |
Promise<number> |
|
execute(name, historyUpdateMode)
Declaration
execute?(name: ProductCommand.replaceInterpolationPlaceholders, historyUpdateMode?: HistoryUpdateMode): Promise<TBaseTextItem[]>;
Parameters
Returns
Type |
Description |
Promise<TBaseTextItem[]> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ProductCommand.changeBackground, args: IChangeBgArgs<TSurface, TImageMetaData, TColor, TColorWithTitle>, historyUpdateMode?: HistoryUpdateMode): Promise<TItem[]>;
Parameters
Returns
Type |
Description |
Promise<TItem[]> |
|
execute(name, args, historyUpdateMode)
Declaration
execute?(name: ProductCommand.applyProductTheme, args: IApplyProductThemeCmdArgs<TProductThemeConfig>, historyUpdateMode?: HistoryUpdateMode): Promise<void>;
Parameters
Returns
Type |
Description |
Promise<void> |
|