Our Customers
Contact Us Email: support@barcodelib.com
Home > Barcode ASP.NET Scanner > Barcode Scanning in ASP.NET > ASP.NET Code 39 Barcode Reader & Scanner Library
Download Barcode Reader for ASP.NET Trial

Mature ASP.NET Code 39 Barcode Reader Library

Use Free C# & VB.NET Codes to Scan & Read Code 39 Barcode in ASP.NET Web Applications
  • High-quality Code 39 ASP.NET barcode reader with fast reading speed
  • Support both C# & VB.NET class library codes in ASP.NET web applications
  • Support major .NET development tools and compatible with .NET 2.0 and above
  • Read & decode over 10 linear & 2d barcode types in ASP.NET projects
  • Scan & recognize Code 39 in .NET, ASP.NET & Console applications
  • Support both whole and partial image scanning in ASP.NET web site
Add Code 39 Barcode Reader DLL to ASP.NET Applications
  1. User only needs to add "BarcodeLib.BarcodeReader.dll" to ASP.NET web project reference.
Scan Code 39 in ASP.NET Web Applications Using Visual C#.NET
The Code 39 ASP.NET barcode scanner will read & decode all Code 39 barcodes from the target image file if users write down following C#.NET class codes:
     string[] results = BarcodeReader.read("c:/code39-aspnet.gif", BarcodeReader.CODE39);
Scan Code 39 in ASP.NET Web Services Using VB.NET Library
The Code 39 ASP.NET barcode reader from BarcodeLib.com also supports VB.NT class programming. Free sample VB.NET code below will let the reader scan & decode all Code 39 barcodes from the source image file:
     Dim datas() As String = BarcodeReader.read("c:/code39-aspnet.gif", BarcodeReader.CODE39)
Read & Decode ASP.NET Code 39 Barcode with Fast Scanning Rate
Our ASP.NET Code 39 barcode reader SDK owns two special properties which are aimed to speed up the scanning rate.
  1. Scan & read a maximum Code 39 barcode per image.
    Set maxOneBarcodePerPage to true when you are scan a maximum Code 39 barcode per image. Then the reader will stop scanning once it detects this Code 39 barcode.

    If users keep this property to the default value (false), the reader will use total 5 algorithms and each will scan the whole image from 4 directions.

  2. Read Code 39 barcode from partial source image file.
    Another way to enhance Code 39 barcode recognition speed is to reduce the scanning area. By specifying the most left top point as (0%, 0%), and the most right bottom point as (100%, 100%), our ASP.NET Code 39 barcode reader SDK divides the whole image into various small regions, which can be expressed with different coordinates.

    For example, if user wants to scan the top 20% and bottom 20% area, he could write down following C# or VB.NET codes:
     OptimizeSetting setting = new OptimizeSetting();

setting.setMaxOneBarcodePerPage(true);

ScanArea top20 = new ScanArea(new PointF(0.0F, 0.0F), new PointF(100.0F, 20.0F));

ScanArea bottom20 = new ScanArea(new PointF(0.0F, 80.0F), new PointF(100.0F, 100.0F));

List<ScanArea> areas = new List<ScanArea>();
areas.Add(top20);
areas.Add(bottom20);

setting.setAreas(areas);

string[] results = BarcodeReader.read("c:/code39-aspnet.gif", BarcodeReader.CODE39, setting);
The above C# codes are coded in Visual C# 2005
     Dim setting As OptimizeSetting = New OptimizeSetting()

setMaxOneBarcodePerPage(True)

Dim top20 As ScanArea = New ScanArea(New Drawing.PointF(0.0F, 0.0F), New Drawing.PointF(100.0F, 20.0F))

Dim bottom20 As ScanArea = New ScanArea(New Drawing.PointF(0.0F, 80.0F), New Drawing.PointF(100.0F, 100.0F))

Dim areas As List(Of ScanArea) = New List(Of ScanArea)
areas.Add(top20)
areas.Add(bottom20)

setting.setAreas(areas)

Dim datas() As String = BarcodeReader.read("c:/code39-aspnet.gif", BarcodeReader.CODE39, setting)
The above VB.NET codes are coded in Visual Basic 2005
ASP.NET Barcode Reading Control Supported Barcodes
Code 39 barcode reader & scanner dll can not only decode & recognize linear Code 39 barcode, but also supports other popular linear & 2d barcode types, such as:
All Linear / 1D Barcodes:
All Matrix / 2D Barcodes: