Back to Website
Show / Hide Table of Contents

Class ItemsDataApplier

Package: @aurigma/design-atoms

Constructors

(constructor)(_productHandler, _canvas, _productThemeManager)

Constructs a new instance of the ItemsDataApplier class

Declaration
constructor(_productHandler: ProductHandler, _canvas: Canvas, _productThemeManager: ProductThemeManager);
Parameters
Type Name Description
ProductHandler _productHandler
Canvas _canvas
ProductThemeManager _productThemeManager

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
Type Name Description
Item item
IItemData data
IApplyParams params
Returns
Type Description
Promise<boolean>

getBarcodeRatio(barcodeFormat)

Declaration
static getBarcodeRatio(barcodeFormat: BarcodeFormat): Size;
Parameters
Type Name Description
BarcodeFormat barcodeFormat
Returns
Type Description
Size
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback