Spire.Barcode 5.7.1现已发布。该版本支持获取条码在图片中的位置和条码类型,同时还修复了扫描图片程序挂起和扫描结果不正确的问题。详情如下。
新功能:
- 支持获取条码在图片中的位置和条码类型。
BarcodeInfo[] barcodeInfos = BarcodeScanner.ScanInfo(imageFile);
//BarcodeInfo[] barcodeInfos = BarcodeScanner.ScanInfo(imageFile, barCodeType);
for (int i = 0; i < barcodeInfos.Length; i++)
{
//获取条码位置
BarCodeReadType barCodeReadType = barcodeInfos[i].BarCodeReadType;
//获取条码四个顶点的坐标
Point[] vertexes = barcodeInfos[i].Vertexes;
}
问题修复:
- 修复了扫描图片程序挂起的问题。
- 修复了扫描结果不正确的问题。
获取Spire.Barcode 5.7.1 请点击: