如何解PDF147码?今天将给大家分享一段C#代码,关于在BarCode Reader SDK中如何解PDF147码。

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();
}
}
}

  

本文译自BarCode

相关文章:

  • 2021-06-07
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
  • 2021-07-24
  • 2021-04-14
  • 2021-04-13
相关资源
相似解决方案