Accusoft.BarcodeXpress.Net 13.5.2308-preview

The BarcodeXpress SDK includes all functionality needed for detecting, reading and writing more than 30 types of barcodes with speed and accuracy.

This powerful control accurately reads and writes common industry 1D and 2D barcodes, detecting them anywhere on the page, in any orientation. You can build .NET applications that recognize multiple barcodes in pages, up to 1000 pages per minute.

Our barcode SDK is not only fast and accurate, but easy to integrate into your applications. With this NuGet package and our user-friendly API you can add barcode capabilities to your application in minutes.

Our Barcode library API supports most common use-case scenarios, such as:

* Detect, read and write 1D and 2D barcodes
* Grayscale (8bpp) detection on various 1D barcode types.
* Recognize barcodes located anywhere on a page
* Read damaged, broken and incorrect barcodes that other SDK engines fail to read
* Report confidence values for detected barcodes
* Compute the row and column information for 2D barcodes.
* Return the error correction level for 2D barcodes.
* Set an optional minimum size that barcodes must meet to be recognized
* Track the internal states of the QR Code as it is being read at any point in the output stream (e.g., Kanji, Numeric, etc.)
* ImagXpress provides pre-processing functionality for image cleanup and modification prior to analysis

Our SDK supports most widely used barcodes including:

Aztec, Data Matrix, PDF417, QR Code, Add-2, Add-5, Airline 2 of 5, Australia Post 4-state Code, BCD Matrix, Codabar, Code 128, Code 2 of 5, Code 32, Code 39, Code 39 Extended, Code 93, Code 93 Extended, Data Logic 2 of 5, EAN 128, EAN-13, EAN-8, GS1 DataBar, Industrial 2 of 5, Intelligent Mail, Interleaved 2 of 5, Invert 2 of 5, ITF 14, SCC-14, Matrix 2 of 5, Patch Codes, PostNet Royal Mail, RM4SCC, UCC 128, UPC-A, UPC-E, ISBN and more!

This is a prerelease version of Accusoft.BarcodeXpress.Net.
There is a newer version of this package available.
See the version list below for details.
Install-Package Accusoft.BarcodeXpress.Net -Version 13.5.2308-preview
dotnet add package Accusoft.BarcodeXpress.Net --version 13.5.2308-preview
<PackageReference Include="Accusoft.BarcodeXpress.Net" Version="13.5.2308-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Accusoft.BarcodeXpress.Net --version 13.5.2308-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Accusoft.BarcodeXpress.Net, 13.5.2308-preview"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Accusoft.BarcodeXpress.Net as a Cake Addin
#addin nuget:?package=Accusoft.BarcodeXpress.Net&version=13.5.2308-preview&prerelease

// Install Accusoft.BarcodeXpress.Net as a Cake Tool
#tool nuget:?package=Accusoft.BarcodeXpress.Net&version=13.5.2308-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Overview

The BarcodeXpress SDK includes all functionality needed for detecting, reading and writing more than 30 types of barcodes with speed and accuracy.

This powerful control accurately reads and writes common industry 1D and 2D barcodes, detecting them anywhere on the page, in any orientation. You can build .NET applications that recognize multiple barcodes in pages, up to 1000 pages per minute.

Our barcode SDK is not only fast and accurate, but easy to integrate into your applications. With this NuGet package and our user-friendly API you can add barcode capabilities to your application in minutes.

Supported Barcode Types

1D Barcodes
  • Add-2
  • Add-5
  • Airline 2 of 5
  • Australia Post 4-State Code
  • BCD Matrix
  • Codabar
  • Code 128 (A,B,C)
  • Code 2 of 5
  • Code 32
  • Code 39
  • Code 39 Extended
  • Code 93
  • Code 93 Extended
  • DataLogic 2 of 5
  • EAN 128 (GS1, UCC)
  • EAN-13
  • EAN-8
  • GS1 DataBar
  • Industrial 2 of 5
  • Intelligent Mail (OneCode)
  • Interleaved 2 of 5
  • Invert 2 of 5
  • ITF-14 / SCC-14
  • Matrix 2 of 5
  • Patch Codes
  • PLANET
  • PostNet
  • Royal Mail (RM4SCC)
  • UCC 128
  • UPC-A
  • UPC-E
  • UPU 4-State
2D Barcodes
  • QR
  • Micro QR
  • Aztec
  • PDF 417
  • Micro PDF 417
  • Datamatrix

See more information about our supported barcodes in our official documentation.

Usage

Basic Example
using (System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap("path/to/file.png"))
using (BarcodeXpress barcodeXpress = new BarcodeXpress("."))
{
    var results = barcodeXpress.reader.Analyze(bitmap);

    foreach(var result in results)
    {
        Console.WriteLine(result.BarcodeValue);
    }
}
How to set different barcode types
BarcodeXpress barcodeXpress = new BarcodeXpress(".");
barcodeXpress.reader.BarcodeTypes = new Accusoft.BarcodeXpressSdk.BarcodeType[]{ BarcodeType.QRCodeBarcode, BarcodeType.Code39Barcode};
How to set recognition parameters
// If a barcode has a checksum, the checksum will be appended to the end of the barcode value.
barcodeXpress.reader.AppendCheckSum = true;
// Specify the area in which Barcode Xpress search for barcodes
barcodeXpress.reader.Area = new System.Drawing.Rectangle(0, 0, 200, 200);
// For 1D barcodes only, specify many pixels are skipped while scanning
// Setting ScanDistance to 4 means every 4th line will be scanned.
barcodeXpress.reader.ScanDistance = 4;
// Specify the directions in which to search for barcodes
barcodeXpress.reader.Orientation = OrientationInfo.HorizontalVerticalDiagonal;
// Scan the image one more time at a reduced resolution to find hard to read barcodes.
barcodeXpress.reader.AdditionalReadingPass = true;
How to view results
foreach(var result in results)
{
    string formattedResult = "";
    formattedResult += result.BarcodeType + "\n";
    // BarcodeValue is the value encoded by the barcode.
    formattedResult += "Value: " + result.BarcodeValue + "\n";
    // Confidence can be 1 through 100. Below 30 is considered to be unsolved.
    formattedResult += "Confidence: " + result.Confidence.ToString() + "\n";
    // Barcode Xpress also returns the coordinates of the barcode
    formattedResult += "Point 1: " + result.Point1.X.ToString() + " " + result.Point1.Y.ToString() + "\n";
    formattedResult += "Point 2: " + result.Point2.X.ToString() + " " + result.Point2.Y.ToString() + "\n";
    formattedResult += "Point 3: " + result.Point3.X.ToString() + " " + result.Point3.Y.ToString() + "\n";
    formattedResult += "Point 4: " + result.Point4.X.ToString() + " " + result.Point4.Y.ToString() + "\n";
    // The skew determines how much the barcode is rotated
    formattedResult += "Skew: " + result.Skew.ToString();
    Console.WriteLine(formattedResult);
}

Creating Barcodes

Creating a 1D barcode
BarcodeXpress barcodeXpress = new BarcodeXpress(".");
// Set barcode type
barcodeXpress.writer.BarcodeType = BarcodeType.Code128Barcode;
// Set barcode value
barcodeXpress.writer.BarcodeValue = "ABC123";
// Set the minimum width and height
barcodeXpress.writer.MinimumBarWidth = 10;
barcodeXpress.writer.MinimumBarHeight = 20;
// Write the barcode to a bitmap
Bitmap bitmap = barcodeXpress.writer.CreateBitmap();
Creating a QR code
// Instantiate a WriterQRCode object
WriterQRCode qrWriter = new WriterQRCode(barcodeXpress);
// Set the barcode value
qrWriter.BarcodeValue = "This is a qr code.";
// Set the error correction level
qrWriter.ErrorCorrectionLevel = QRCodeErrorCorrectionLevel.ErrorCorrectionM;
How to call licensing methods
// If you have a paid license, you must call these methods.
// The values required below can be found by logging into the customer portal.
barcodeXpress.Licensing.SetSolutionName("YourSolutionName");
barcodeXpress.Licensing.SetSolutionKey(0x000001, 0x000001, 0x000002, 0x000003);
// You only need to call SetOEMLicenseKey if you have an OEM license.
barcodeXpress.Licensing.SetOEMLicenseKey("2.0.ReallyLongLicenseStringThatYouCanFindOnTheCustomerPortal");       

Features

  • Detect, read, and write 1D and 2D barcodes.
  • Recognize barcodes located anywhere on a page in any orientation.
  • Report confidence values for detected barcodes.
  • Seamless integration with Accusoft's Form Processing Suite with streaming support.
  • Set a minimum size that barcodes must meet to be returned by the Analyze method by using the Reader.MinimumBarcodeSize parameter.
  • Track the internal states of the QR Code as it is being read at any point in the output stream (e.g., Kanji, Numeric, etc.)
  • Grayscale (8bpp) detection on various 1D barcode types.
  • Report the row and column information for supported 2D barcodes.
  • Report the error correction level for 2D barcodes.
  • We provide NuGet Packages to simplify the packaging process. NuGet packages make it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework.

Licensing

Barcode Xpress does not require a license for evaluation. Simply download our SDK and try it! Barcode results will be partially hidden until a paid license is purchased. Contact info@accusoft.com for more information.

Requirements

Barcode Xpress for .NET Framework is supported on x64 and x86 Windows operating systems of the following versions:

  • Windows 8.1
  • Windows 10 Versions 1607 and above
  • Windows Server 2012 (and R2)
  • Windows Server 2016
  • Windows Server 2019

Development Environments

  • .NET 3.5 +

Useful Links

Documentation: https://help.accusoft.com/BarcodeXpress/latest/BxNet/webframe.html

Support: https://www.accusoft.com/support/support-plans/

Get Barcode Xpress: https://www.accusoft.com/products/barcode-xpress/get-it/

Contacts

Accusoft Corporation 4001 North Riverside Drive Tampa, FL 33603 Sales: 813-875-7575 www.accusoft.com

©2021 Accusoft Corporation. All rights reserved.

Overview

The BarcodeXpress SDK includes all functionality needed for detecting, reading and writing more than 30 types of barcodes with speed and accuracy.

This powerful control accurately reads and writes common industry 1D and 2D barcodes, detecting them anywhere on the page, in any orientation. You can build .NET applications that recognize multiple barcodes in pages, up to 1000 pages per minute.

Our barcode SDK is not only fast and accurate, but easy to integrate into your applications. With this NuGet package and our user-friendly API you can add barcode capabilities to your application in minutes.

Supported Barcode Types

1D Barcodes
  • Add-2
  • Add-5
  • Airline 2 of 5
  • Australia Post 4-State Code
  • BCD Matrix
  • Codabar
  • Code 128 (A,B,C)
  • Code 2 of 5
  • Code 32
  • Code 39
  • Code 39 Extended
  • Code 93
  • Code 93 Extended
  • DataLogic 2 of 5
  • EAN 128 (GS1, UCC)
  • EAN-13
  • EAN-8
  • GS1 DataBar
  • Industrial 2 of 5
  • Intelligent Mail (OneCode)
  • Interleaved 2 of 5
  • Invert 2 of 5
  • ITF-14 / SCC-14
  • Matrix 2 of 5
  • Patch Codes
  • PLANET
  • PostNet
  • Royal Mail (RM4SCC)
  • UCC 128
  • UPC-A
  • UPC-E
  • UPU 4-State
2D Barcodes
  • QR
  • Micro QR
  • Aztec
  • PDF 417
  • Micro PDF 417
  • Datamatrix

See more information about our supported barcodes in our official documentation.

Usage

Basic Example
using (System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap("path/to/file.png"))
using (BarcodeXpress barcodeXpress = new BarcodeXpress("."))
{
    var results = barcodeXpress.reader.Analyze(bitmap);

    foreach(var result in results)
    {
        Console.WriteLine(result.BarcodeValue);
    }
}
How to set different barcode types
BarcodeXpress barcodeXpress = new BarcodeXpress(".");
barcodeXpress.reader.BarcodeTypes = new Accusoft.BarcodeXpressSdk.BarcodeType[]{ BarcodeType.QRCodeBarcode, BarcodeType.Code39Barcode};
How to set recognition parameters
// If a barcode has a checksum, the checksum will be appended to the end of the barcode value.
barcodeXpress.reader.AppendCheckSum = true;
// Specify the area in which Barcode Xpress search for barcodes
barcodeXpress.reader.Area = new System.Drawing.Rectangle(0, 0, 200, 200);
// For 1D barcodes only, specify many pixels are skipped while scanning
// Setting ScanDistance to 4 means every 4th line will be scanned.
barcodeXpress.reader.ScanDistance = 4;
// Specify the directions in which to search for barcodes
barcodeXpress.reader.Orientation = OrientationInfo.HorizontalVerticalDiagonal;
// Scan the image one more time at a reduced resolution to find hard to read barcodes.
barcodeXpress.reader.AdditionalReadingPass = true;
How to view results
foreach(var result in results)
{
    string formattedResult = "";
    formattedResult += result.BarcodeType + "\n";
    // BarcodeValue is the value encoded by the barcode.
    formattedResult += "Value: " + result.BarcodeValue + "\n";
    // Confidence can be 1 through 100. Below 30 is considered to be unsolved.
    formattedResult += "Confidence: " + result.Confidence.ToString() + "\n";
    // Barcode Xpress also returns the coordinates of the barcode
    formattedResult += "Point 1: " + result.Point1.X.ToString() + " " + result.Point1.Y.ToString() + "\n";
    formattedResult += "Point 2: " + result.Point2.X.ToString() + " " + result.Point2.Y.ToString() + "\n";
    formattedResult += "Point 3: " + result.Point3.X.ToString() + " " + result.Point3.Y.ToString() + "\n";
    formattedResult += "Point 4: " + result.Point4.X.ToString() + " " + result.Point4.Y.ToString() + "\n";
    // The skew determines how much the barcode is rotated
    formattedResult += "Skew: " + result.Skew.ToString();
    Console.WriteLine(formattedResult);
}

Creating Barcodes

Creating a 1D barcode
BarcodeXpress barcodeXpress = new BarcodeXpress(".");
// Set barcode type
barcodeXpress.writer.BarcodeType = BarcodeType.Code128Barcode;
// Set barcode value
barcodeXpress.writer.BarcodeValue = "ABC123";
// Set the minimum width and height
barcodeXpress.writer.MinimumBarWidth = 10;
barcodeXpress.writer.MinimumBarHeight = 20;
// Write the barcode to a bitmap
Bitmap bitmap = barcodeXpress.writer.CreateBitmap();
Creating a QR code
// Instantiate a WriterQRCode object
WriterQRCode qrWriter = new WriterQRCode(barcodeXpress);
// Set the barcode value
qrWriter.BarcodeValue = "This is a qr code.";
// Set the error correction level
qrWriter.ErrorCorrectionLevel = QRCodeErrorCorrectionLevel.ErrorCorrectionM;
How to call licensing methods
// If you have a paid license, you must call these methods.
// The values required below can be found by logging into the customer portal.
barcodeXpress.Licensing.SetSolutionName("YourSolutionName");
barcodeXpress.Licensing.SetSolutionKey(0x000001, 0x000001, 0x000002, 0x000003);
// You only need to call SetOEMLicenseKey if you have an OEM license.
barcodeXpress.Licensing.SetOEMLicenseKey("2.0.ReallyLongLicenseStringThatYouCanFindOnTheCustomerPortal");       

Features

  • Detect, read, and write 1D and 2D barcodes.
  • Recognize barcodes located anywhere on a page in any orientation.
  • Report confidence values for detected barcodes.
  • Seamless integration with Accusoft's Form Processing Suite with streaming support.
  • Set a minimum size that barcodes must meet to be returned by the Analyze method by using the Reader.MinimumBarcodeSize parameter.
  • Track the internal states of the QR Code as it is being read at any point in the output stream (e.g., Kanji, Numeric, etc.)
  • Grayscale (8bpp) detection on various 1D barcode types.
  • Report the row and column information for supported 2D barcodes.
  • Report the error correction level for 2D barcodes.
  • We provide NuGet Packages to simplify the packaging process. NuGet packages make it easy to add, remove, and update libraries and tools in Visual Studio projects that use the .NET Framework.

Licensing

Barcode Xpress does not require a license for evaluation. Simply download our SDK and try it! Barcode results will be partially hidden until a paid license is purchased. Contact info@accusoft.com for more information.

Requirements

Barcode Xpress for .NET Framework is supported on x64 and x86 Windows operating systems of the following versions:

  • Windows 8.1
  • Windows 10 Versions 1607 and above
  • Windows Server 2012 (and R2)
  • Windows Server 2016
  • Windows Server 2019

Development Environments

  • .NET 3.5 +

Useful Links

Documentation: https://help.accusoft.com/BarcodeXpress/latest/BxNet/webframe.html

Support: https://www.accusoft.com/support/support-plans/

Get Barcode Xpress: https://www.accusoft.com/products/barcode-xpress/get-it/

Contacts

Accusoft Corporation 4001 North Riverside Drive Tampa, FL 33603 Sales: 813-875-7575 www.accusoft.com

©2021 Accusoft Corporation. All rights reserved.

Dependencies

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
13.5.2451 69 6/30/2021
13.5.2308-preview 93 5/24/2021
13.4.1886 571 1/19/2021
13.3.1665 329 9/2/2020
13.2.1350 395 5/20/2020
13.0.379 504 9/25/2019
12.2.79 621 12/17/2018
12.2.70 440 12/10/2018
12.1.402 760 1/31/2018
12.0.29 628 1/31/2018
12.0.22 1,163 2/2/2017