开发人员通过
Aspose.BarCode for Java可以进行条形码的生成与识别,该产品支持多种常用的一维和二维条形码,在新的8.0版本发布了以后,开发人员又可以通过该产品进行DutchKix或 DotCode条形码的创建了,下面的代码描述了如何在Java应用中创建这两种条形码:
// Create an instance of BarCodeBuilder class and pass parameters
// 1. Code Text
// 2. BarCode Symbology - DotCode
// Call save method to save the barcode in image format
builder.save("DotCode.png");
////////////////////////////////////////////////////////////////////////////
// Create an instance of BarCodeBuilder class and pass parameters
// 1. Code Text
// 2. BarCode Symbology - DutchKIX
// Call save method to save the barcode in image format
builder.save("DutchKIX.png");