Accusoft.BarcodeXpress.Net 13.5.2451

There is a newer version of this package available.
See the version list below for details.
dotnet add package Accusoft.BarcodeXpress.Net --version 13.5.2451
NuGet\Install-Package Accusoft.BarcodeXpress.Net -Version 13.5.2451
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Accusoft.BarcodeXpress.Net" Version="13.5.2451" />
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.2451
#r "nuget: Accusoft.BarcodeXpress.Net, 13.5.2451"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.2451

// Install Accusoft.BarcodeXpress.Net as a Cake Tool
#tool nuget:?package=Accusoft.BarcodeXpress.Net&version=13.5.2451

Overview

The Barcode Xpress 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 +

Documentation: https://help.accusoft.com/BarcodeXpress/latest/BxNet/webframe.html#User_Guide.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.

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 Downloads Last updated
13.9.3174 2,636 9/26/2022
13.8.3085 1,177 2/22/2022
13.7.2960 849 12/20/2021
13.6.2812 951 9/30/2021
13.5.2451 1,233 6/30/2021
13.5.2308-preview 733 5/24/2021
13.4.1886 5,952 1/19/2021
13.3.1665 1,174 9/2/2020
13.2.1350 1,296 5/20/2020
13.0.379 1,531 9/25/2019
12.2.79 1,528 12/17/2018
12.2.70 1,326 12/10/2018
12.1.402 1,738 1/31/2018
12.0.29 1,571 1/31/2018
12.0.22 2,441 2/2/2017