ej2-angular-ui-components/components/barcodegenerator
pipeline 31b01b1d42 v26.2.8 is released 2024-08-05 23:31:26 +00:00
..
ej2-docs v26.2.4 is released 2024-07-24 10:08:43 +00:00
node_modules v26.2.4 is released 2024-07-24 10:08:43 +00:00
src v26.2.4 is released 2024-07-24 10:08:43 +00:00
styles v26.2.4 is released 2024-07-24 10:08:43 +00:00
CHANGELOG.md v26.2.8 is released 2024-08-05 23:31:26 +00:00
README.md v20.4.38 is released 2022-12-21 09:48:29 +00:00
gulpfile.js v26.2.4 is released 2024-07-24 10:08:43 +00:00
license v17.3.16 is released 2019-10-09 12:29:52 +00:00
package.json v26.2.4 is released 2024-07-24 10:08:43 +00:00
tsconfig.json v17.3.16 is released 2019-10-09 12:29:52 +00:00

README.md

Angular Barcode Generator Component

The Angular Barcode (QR Code) Generator Component is a light-weight and high-performance control that displays industry-standard 1D and 2D barcodes in Angular applications. Generated barcodes are optimized for printing and on-screen scanning. It is designed for ease of use and does not require fonts.

Getting started . Online demos . Learn more

Angular Barcode Control

Trusted by the world's leading companies Bootstrap logo

Setup

Create an Angular Application

You can use Angular CLI to setup your Angular applications. To install the Angular CLI, use the following command.

npm install -g @angular/cli

Create a new Angular application using the following Angular CLI command.

ng new my-app
cd my-app

Adding Syncfusion Barcode Generator package

All Syncfusion Angular packages are available in npmjs.com. To install the Angular barcode generator package, use the following command.

npm install @syncfusion/ej2-angular-barcode-generator --save

The above command does the below configuration to your Angular app.

  • Adds @syncfusion/ej2-angular-barcode-generator package and its peer dependencies to your package.json file.
  • Imports the BarcodeGeneratorAllModule, QRCodeGeneratorAllModule, DataMatrixGeneratorAllModule in your application module app.module.ts.
  • Registers the Syncfusion UI default theme (material) in the angular.json file.

This makes it easy to add the Syncfusion Angular Barcode Generator module to your project and start using it in your application.

Add Barcode Generator component

In src/app/app.component.ts, use <ejs-barcodegenerator> selector in the template attribute of the @Component directive to render the Syncfusion Angular Barcode Generator component.

import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'app-root',
    template: `<ejs-barcodegenerator id="barcode" width="200px" height="150px" mode="SVG" type="Codabar" value="123456789">`
})
export class AppComponent implements OnInit {}

Supported frameworks

Barcode component is also offered in the following list of frameworks.


     JavaScript    

       React      

       Vue         

  ASP.NET Core  

  ASP.NET MVC  

Showcase samples

Key features

Support

Product support is available through the following mediums.

Changelog

Check the changelog here. Get minor improvements and bug fixes every week to stay up to date with frequent updates.

This is a commercial product and requires a paid license for possession or use. Syncfusions licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. To acquire a license for 80+ Angular UI components, you can purchase or start a free 30-day trial.

A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

See LICENSE FILE for more info.

© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.