.NET Barcode for (.NET Barcode Generator supports Linear, PDF417, Data Matrix and QR-Code)

Home  >  Barcode Components  >  .NET Barcode  >  .NET Barcode Generator to Create, Generate, Draw, Print linear & 2D Bar Codes in .NET

.NET Barcode Generation Guide for .NET Developers

Using .NET Barcode Generator to Create, Generate, Draw, Print linear & 2D Bar Codes in .NET

BusinessRefinery .NET Barcode Generator is a enterprise-quality .NET Bar Codes Generation Component (.dll), which creates most common 1D (linear) & 2D (matrix) barcodes in various .NET development environments.


BusinessRefinery .NET Barcode Generator provides 3 key barcode generation components for Visual Studio .NET platform:

.NET Barcode Ultimate - Generating barcodes in all .NET Web & Windows environments.

.NET Barcode for ASP.NET - Creating barcodes in ASP.NET class, ASP.NET Web Applications.

.NET Barcode for Windows Forms - Creating barcodes in .NET class, Windows Forms Applications, and .NET Console Applications.



.NET Barcode Generator - C#, VB.NET Creating Barcodes Sample Codes



1. How to generate barcodes in C# Class?

   using BusinessRefinery.Barcode;

   // construct a linear barcode object
   Linear barcode = new Linear();  
    
   // set linear barcode symbolgoy to code-128
   barcode.Symbology = Symbology.CODE128;
    
   // set code-128 code text to encode		      
   barcode.Code = "9876543210";  
    
   //draw barcode and save into image file in gif format   
   barcode.drawBarcode("C://code-128-in-csharp.gif");    

2. How to generate barcodes in VB.NET Class?

// construct a linear barcode object
Dim barcode As BusinessRefinery.Barcode.Linear
barcode = New BusinessRefinery.Barcode.Linear()

// set linear barcode symbolgoy to code-128
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE128

// set code-128 code text to encode	
barcode.Code = "0123456789"

//draw barcode and save into image file in gif format  
barcode.drawBarcode("C://code-128-in-vbnet.gif")


3. How to create barcodes & encode to image files (GIF, JPEG, BMP, PNG, & TIFF)?

            using BusinessRefinery.Barcode;

            Linear barcode = new Linear();
            barcode.Symbology = BarcodeType.CODE128;
            barcode.Code = "9876543210";
            barcode.drawBarcode("C://code-128-in-csharp.gif");

You can draw other file formats, by change file types to .jpg, .bmp, .png, and .tif.



4. How to draw & print barcodes to .NET objects like Graphics, Stream, Bitmap?

            using BusinessRefinery.Barcode;

            Linear barcode = new Linear();
            barcode.Symbology = BarcodeType.CODE128;
            barcode.Code = "9876543210";

            barcode.drawBarcode2Stream("Stream object");

            Bitmap barcodeInBitmap = barcode.drawBarcode();

            barcode.drawBarcodeOnGraphics("Graphics object");



.NET Barcode Generator - How to install .NET Barcode Generator Controller in .NET Projects?



1. How to install .NET Barcode Generator Controller in your .NET project?

  • To generate barcodes in .NET class or console applications, add BusinessRefinery.Barcode.Web.dll or BusinessRefinery.Barcode.Win.dll to your .NET project reference.

  • To generate barcodes in ASP.NET web applications, add BusinessRefinery.Barcode.Web.dll to your ASP.NET project reference

  • To generate barcodes in .NET Windows applications, add BusinessRefinery.Barcode.Win.dll to your .NET project reference



2. How to create barcodes in .NET Windows Application using .NET Barcode Generator Windows Control Library?

  1. add BusinessRefinery.Barcode.Win.dll to your .NET Windows Application project reference
  2. add .NET Barcode Generator .NET Windows Control Library to .NET Visual Studio Toolbox



3. How to create barcodes in ASP.NET Web Application using ASP.NET Barcode Generator Web Control Library?

  1. add BusinessRefinery.Barcode.Web.dll to your ASP.NET project reference
  2. add ASP.NET Barcode Generator ASP.NET Web Control Library to .NET Visual Studio Toolbox



.NET Barcode Generator - 1D & 2D Barcode Symbology Types





ALL RIGHTS RESERVED. Business Refinery (c) 2006 - 2010. Terms of Use | Privacy Policy