You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While creating barcode, we need to give fixed width. So, sometimes, generated barcode ends up taking more space than required. It would be great to return barcode image of exact size of barcode. So, one way could be to give max-width option. And try generating barcode image of actual size(not of max-width).
While creating barcode, we need to give fixed width. So, sometimes, generated barcode ends up taking more space than required. It would be great to return barcode image of exact size of barcode. So, one way could be to give max-width option. And try generating barcode image of actual size(not of max-width).
let code128 = Barcode('code128', { data: invoiceData.packageCode, maxWidth: 230, height: 50 });
The text was updated successfully, but these errors were encountered: