C# - decode PDF147 barcode tutorial - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

C# – decode PDF147 barcode tutorial

C decode PDF147 barcode tutorial shows how to read PDF 147 barcode with C# using Barcode Reader SDK.
Use C sharp code sample below for pdf147 barcode decoding.

C#

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

using Bytescout.BarCodeReader;

namespace SimpleTestSharp
{
   class Program
   {
       const string path = "PDF417.png";

       static void Main(string[] args)
       {
           Console.WriteLine("Reading barcode(s) from image {0}", Path.GetFullPath(path));

           Reader bc = new Reader();

           FoundBarcode[] barcodes = bc.ReadFrom(path);

           foreach (FoundBarcode barcode in barcodes)
               Console.WriteLine("Found barcode with type '{0}' and value '{1}'", barcode.Type, barcode.Value);

           Console.WriteLine("Press any key to exit..");
           Console.ReadKey();
       }
   }
}

Tutorials:

prev
next