Barcode Reader SDK for .NET can be used in Visual Studio IDE for adding barcode recognition capabilities to your .NET Applications. You can use the Barcode Reader SDK to scan a digital image looking for the desired barcode symbology and decode it (meaning to get the data encoded by the barcode) inside your .NET application.
'Add the Barcode Reader namespace reference
Imports Neodynamic.SDK.BarcodeReader
'Create a BarcodeReader object
Dim myReader As New BarcodeReader()
'Add the barcode symbologies to be recognized
myReader.Symbology.Add(Symbology.Ean13)
myReader.Symbology.Add(Symbology.Code128)
'Set max num of barcode symbols to be detected
myReader.Hints.MaxNumOfBarcodes = 2
'Scan the source image and get result
Dim results As List(Of BarcodeScanResult) = myReader.Scan("c:\barcode_sample.jpg")
'Display scan result
For Each result As BarcodeScanResult In results
Console.WriteLine("Barcode Type: " & result.Symbology.ToString())
Console.WriteLine("Barcode Data: " + result.Text)
Console.WriteLine("=============")
Next
//Add the Barcode Reader namespace reference
using Neodynamic.SDK.BarcodeReader;
//Create a BarcodeReader object
BarcodeReader myReader = new BarcodeReader();
//Add the barcode symbologies to be recognized
myReader.Symbology.Add(Symbology.Ean13);
myReader.Symbology.Add(Symbology.Code128);
//Set max num of barcode symbols to be detected
myReader.Hints.MaxNumOfBarcodes = 2;
//Scan the source image and get result
List<BarcodeScanResult> results = myReader.Scan(@"c:\barcode_sample.jpg");
//Display scan result
foreach (BarcodeScanResult result in results)
{
Console.WriteLine("Barcode Type: " + result.Symbology.ToString());
Console.WriteLine("Barcode Data: " + result.Text);
Console.WriteLine("=============");
}
We've developed a more complete Barcode Reader application which you can examine for more advanced settings. The sample app is provided with source code in C# and VB and you can find them in the installation folder of Barcode Reader SDK.
We provide best-in-class customer service and support directly from members of our dev team! If we are available when you contact us, you will get a response in few minutes; otherwise the maximum turnaround is 24hs in most cases.