Aspose.Barcode for .NET条形码控件发布了新的16.10版本

作者:控件中国网   出处:控件中国网   2016-10-10 10:38:26   阅读:9

Aspose.BarCode for .NET是一款可以帮助开发人员在应用程序中进行条形码的生成和识别的控件,支持国际上标准的一维和二维条形码,在新的版本中主要做了如下的更新和修复:
在新的版本中支持生成GS1-128 AI 8102 Coupon Extended条形码,下面是生成该条形码的简单代码
// Initialize BarCode builder class object
BarCodeBuilder barCodeBuilder = new BarCodeBuilder();
// Set symbology type as GS1-128 AI 8102 coupon extended and set the barcode text
barCodeBuilder.SymbologyType = Symbology.UpcaGs1Code128Coupon;
// upca part is "514141100906", GS1Code128 part is "(8102)03"
barCodeBuilder.CodeText = "514141100906(8102)03";
// save barcode
barCodeBuilder.Save("UpcaGs1Code128Coupon.png");
支持生成UPCA & GS1 Databar coupon条形码,下面是简单的生成代码
// Initialize BarCode builder class object
BarCodeBuilder barCodeBuilder = new BarCodeBuilder();
// Set symbology type as UPCA & GS1 Databar coupon and set the barcode text
barCodeBuilder.SymbologyType = Symbology.UpcaGs1DatabarCoupon;
// upca part is "514141100906", GS1Databar part is "(8110)001234502239811110555"
barCodeBuilder.CodeText = "512345678900(8110)001234502239811110555";
// set barcode caption
barCodeBuilder.CaptionAbove.Text = "012345-022398";
// save barcode
barCodeBuilder.Save("couponUpcaDatabar.png");
在新的版本中支持设置条形码Bar的宽窄比,下面是设置的简单代码
// Create an instance of BarCodeBuilder class.
// Set the symbology and code text.
BarCodeBuilder barCodeBuilder = new BarCodeBuilder("blackReduction", Symbology.Code128);
// Set X dimension.
barCodeBuilder.xDimension = 1.2f;
// Set bar width reduction property
barCodeBuilder.BarWidthReduction = 0.2f;
// Save the barcode image
barCodeBuilder.Save("blackReduction.png");
另外控件在新的版本中对以下功能进行了增强:
  • 对于读取PDF417条形码进行了增强
  • 对处理 Code93Standard条形码的读取进行了增强
  • 读取datamtrix条形码进行了大幅提高
  • 读取EAN13条形码的功能也进行了增强
  • 对于生成QR条形码时自定义条形码宽度和高度的功能进行了增强
  • 对于生成ISSN条形码进行了增强
 
Copyright© 2006-2015 ComponentCN.com all rights reserved.重庆磐岩科技有限公司(控件中国网) 版权所有 渝ICP备12000264号 法律顾问:元炳律师事务所
客服软件
live chat