@syncfusion/ej2-barcode-generator
Version:
Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code.
26 lines (25 loc) • 710 B
TypeScript
import { OneDimension } from '../one-dimension';
/**
* This class is used to calculate the barcode of type Universal Product Code barcode
*/
export declare class UpcA extends OneDimension {
/**
* Validate the given input.
*
* @returns {string} Validate the given input.
* @param {string} value - provide the input values .
* @private
*/
validateInput(value: string): string;
private checkSumData;
private getBinaries;
/**
* Draw the barcode SVG.\
*
* @returns {void} Draw the barcode SVG .
* @param {HTMLElement} canvas - Provide the canvas element .
* @private
*/
draw(canvas: HTMLElement): void;
private leftValue;
}