Class ItemsDataApplier
Constructors
(constructor)(_productHandler, _canvas, _productThemeManager)
Constructs a new instance of the ItemsDataApplier class
Declaration
constructor(_productHandler: ProductHandler, _canvas: Canvas, _productThemeManager: ProductThemeManager);
Parameters
Properties
parseItemsDataValueRelativeToHeight
Declaration
static parseItemsDataValueRelativeToHeight: (value: number | string, productHandler: ProductHandler, relativeToPrintArea: boolean) => number;
Property Value
| Type |
Description |
| (value: number | string, productHandler: ProductHandler, relativeToPrintArea: boolean) => number |
|
Methods
applyToItem(item, data, params)
Declaration
applyToItem(item: Item, data: IItemData, params?: IApplyParams): Promise<boolean>;
Parameters
Returns
| Type |
Description |
| Promise<boolean> |
|
getBarcodeRatio(barcodeFormat)
Declaration
static getBarcodeRatio(barcodeFormat: BarcodeFormat): Size;
Parameters
Returns