We regularly create and update our sample code library so you may quickly learn interrupt barcode decoding processing with barcode reader sdk and the step-by-step process in C#. Interrupt barcode decoding processing with barcode reader sdk in C# can be applied with ByteScout Barcode Suite. ByteScout Barcode Suite is the bundle that privides 3 SDK products to generate barcodes (Barcode SDK), read barcodes (Barcode Reaer SDK) and read and write spreadsheets (Spreadsheet SDK).
If you want to quickly learn then these fast application programming interfaces of ByteScout Barcode Suite for C# plus the guideline and the C# code below will help you quickly learn interrupt barcode decoding processing with barcode reader sdk. Just copy and paste this C# sample code to your C# application’s code editor, add a reference to ByteScout Barcode Suite (if you haven’t added yet) and you are ready to go! C# application implementation mostly involves various stages of the software development so even if the functionality works please check it with your data and the production environment.
Our website gives free trial version of ByteScout Barcode Suite. It includes all these source code samples with the purpose to assist you with your C# application implementation.
On-demand (REST Web API) version:
Web API (on-demand version)
On-premise offline SDK for Windows:
60 Day Free Trial (on-premise)
using System; using System.IO; using Bytescout.BarCodeReader; namespace InterruptProcessing { class Program { const string ImageFile = "1d_barcodes.pdf"; static void Main() { Console.WriteLine("Reading barcode(s) from image {0}", Path.GetFullPath(ImageFile)); Reader reader = new Reader(); reader.RegistrationName = "demo"; reader.RegistrationKey = "demo"; // Set barcode types to find reader.BarcodeTypesToFind.All1D = true; reader.BarcodeFound += Reader_BarcodeFound; /* ----------------------------------------------------------------------- NOTE: We can read barcodes from specific page to increase performance. For sample please refer to "Decoding barcodes from PDF by pages" program. ----------------------------------------------------------------------- */ // Read barcodes reader.ReadFrom(ImageFile); // Cleanup reader.Dispose(); Console.WriteLine("Press any key to exit.."); Console.ReadKey(); } private static void Reader_BarcodeFound(object sender, BarcodeFoundEventArgs e) { Console.WriteLine("Found barcode with type '{0}' and value '{1}'", e.Barcode.Type, e.Barcode.Value); if (e.Count == 5) { // Cancel after 5 barcodes found e.Cancel = true; Console.WriteLine("Cancelled."); } } } }
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
60 Day Free Trial or Visit ByteScout Barcode Suite Home Page
Explore ByteScout Barcode Suite Documentation
Explore Samples
Sign Up for ByteScout Barcode Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: