.NET Barcode GS1 DataBar Generator for .NET, ASP.NET, C#, VB.NET


  • Generate GS1 DataBar Barcodes in C#, VB.NET class & console applications
  • Generate DataBar in ASP.NET web applications
  • Generate DataBar in .NET Windows Forms applications
  • Generate DataBar in Reporting Service & Crystal Reports
  • High quality DataBar Bar Code images in GIF, PNG, JPEG & BITMAP
  • Completely developed in C#.NET
  • Mature DataBar barcode generating components used by 1000+ clients


Index
 

.NET DataBar Generator - Barcode Introduction

The GS1 DataBar (formerly RSS) family consists of the following versions:
  • GS1 DataBar-14
  • GS1 DataBar-14 Truncated
  • GS1 DataBar-14 Stacked
  • GS1 DataBar-14 Stacked Omnidirectional
  • GS1 DataBar Limited (formerly RSS Limited)
  • GS1 DataBar Expanded (formerly RSS Expanded)
  • GS1 DataBar Expanded Stacked (formerly RSS Expanded Stacked)

 

.NET DataBar Generator - Valid Data Scope



 

How to generate barcode in .NET class?

In C#

        Linear barcode = new Linear();
        barcode.Type = BarcodeType.CODE39;
        barcode.Data = "0123456789";
        barcode.drawBarcode("C://code39.gif");


In VB.NET

        Dim barcode As OnBarcode.Barcode.Linear
        barcode = New OnBarcode.Barcode.Linear()
        barcode.Type = OnBarcode.Barcode.BarcodeType.CODE39
        barcode.Data = "0123456789"
        barcode.drawBarcode("C://code39-in-vbnet.gif")


 

How to create barcode image in ASP.NET aspx or html pages without ASP.NET Barcode Controller?

  • Under demo package, copy barcode folder and its contents to your IIS, and create a new virtual directory.

  • Restart IIS, navigate to http://YourDomain:Port/barcode/linear.aspx?DATA=0123456789&TYPE=4

  • To create barcode image in html or aspx pages, you can insert a image tag (img) into your page.
    For example, <img src="http://YourDomain:Port/barcode/linear.aspx?DATA=0123456789&TYPE=4" />

 

How to print barcode into image file?

In C#

        Linear barcode = new Linear();
        barcode.Type = BarcodeType.CODE39;
        barcode.Data = "0123456789";
        barcode.drawBarcode("C://code39.gif");


In VB.NET

        Dim barcode As OnBarcode.Barcode.Linear
        barcode = New OnBarcode.Barcode.Linear()
        barcode.Type = OnBarcode.Barcode.BarcodeType.CODE39
        barcode.Data = "0123456789"
        barcode.drawBarcode("C://code39-in-vbnet.gif")
 

In Visual Studio C# and VB.NET, how to draw barcode to the memory?

Using C#, please call one of the following methods to draw barcode in the memory

        public void drawBarcode(Graphics graphics);

        public void drawBarcode(string filename);

        public Bitmap drawBarcode();

        public void drawBarcode(Stream fileStream);


Using VB.NET, please call one of the following methods to draw barcode in the memory

        Public Sub drawBarcode(ByRef graphics As Graphics)

        Public Sub drawBarcode(ByVal filename As String)

        Public Function drawBarcode() As Bitmap

        Public Sub drawBarcode(ByRef fileStream As Stream)

 

How to create & print barcode using .NET Barcode WinForms Controller?

  1. Add OnBarcode.Barcode.WinForms.dll to .net project reference

  2. Add .NET Barcode to .NET Visual Studio Toolbox

    1. Right click .NET Visual Studio Toolbox, select menu Choose Items...

    2. In "Choose Toolbox Items" form, click button "Browse...", and select dll OnBarcode.Barcode.WinForms.dll

    3. After selection, you will find four items under "Components" section: LinearWinForm, DataMatrixWinForm, PDF417WinForm, and QRCodeWinForm.
 

How to create & print barcode using ASP.NET Barcode Web Form Controller?

  1. Add OnBarcode.Barcode.ASPNET.dll to asp.net project reference

  2. Add .NET Barcode to .NET Visual Studio Toolbox

    1. Right click .NET Visual Studio Toolbox, select menu Choose Items...

    2. In "Choose Toolbox Items" form, click button "Browse...", and select dll OnBarcode.Barcode.ASPNET.dll

    3. After selection, you will find four items under "Components" section: LinearWebForm, DataMatrixWebForm, PDF417WebForm, and QRCodeWebForm.


 

.NET DataBar Generator - Barcode Properties













OnBarcode is a market-leading provider of barcode generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode products support most common barcode symbologies including QRCode C# SDK, Data Matrix in C#.net Control, PDF-417 Componennt in C# .NET, Code 128 VS .net sdk, Code 39 C# library.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.