ItemsDataApplier
Classes
ItemsDataApplier
Constructors
Constructor
new ItemsDataApplier(
productHandler,
canvas,
productThemeManager): ItemsDataApplier;
Parameters
| Parameter | Type |
|---|---|
productHandler | ProductHandler |
canvas | Canvas |
productThemeManager | ProductThemeManager |
Returns
Methods
applyToItem()
applyToItem(
item,
data,
params?): Promise<boolean>;
Parameters
| Parameter | Type | Default value |
|---|---|---|
item | Item | undefined |
data | IItemData | undefined |
params | IApplyParams | null |
Returns
Promise<boolean>
getBarcodeRatio()
static getBarcodeRatio(barcodeFormat): any;
Parameters
| Parameter | Type |
|---|---|
barcodeFormat | BarcodeFormat |
Returns
any
parseItemsDataValueRelativeToHeight()
static parseItemsDataValueRelativeToHeight(
value,
productHandler,
relativeToPrintArea): any;
Parameters
| Parameter | Type |
|---|---|
value | string | number |
productHandler | ProductHandler |
relativeToPrintArea | boolean |
Returns
any
Interfaces
IApplyParams
Properties
applyPropertiesDeep?
optional applyPropertiesDeep?: boolean;
changePosition?
optional changePosition?: boolean;
ignorePermissions?
optional ignorePermissions?: boolean;
relativeToPrintArea?
optional relativeToPrintArea?: boolean;