Free Support Forum - aspose.com

Using Aspose.BarCode for Java v5.0 on jdk1.4/1.5 to generate BarCode Image does not work

Hi everybody,

I have found a problem with the following methods in BarcodeBuilder class:

//Instantiate barcode object
BarCodeBuilder bb = new BarCodeBuilder();//Instantiate barcode object

// public d generateBarCodeImage() !?!?

Image image = bb.generateBarCodeImage(); // can't work !!!!

//Set up code text color
bb.setCodeTextColor(Color.RED);

setCodeTextColor(com.aspose.msbarcode.System.d.j) in com.aspose.barcode.BarCodeBuilder cannot be applied to (java.awt.Color)setCodeTextColor(com.aspose.msbarcode.System.d.j) in com.aspose.barcode.BarCodeBuilder cannot be applied to (java.awt.Color)

Same problem with the class method:setCodeTextFont();
(com.aspose.msbarcode.System.d.t).

This problem occured with the library aspose-barcode-5.0.0-jdk14 and maybe 1.5 too !!!

Can you help me please or solve this issue?

Thanks for your help.

Regards,
Mathieu

Hi James,


Thank you for your inquiry. I have tested these methods against the latest build of Aspose.BarCode for Java v5.0.0 with library aspose-barcode-5.0.0-jdk15. I regretfully inform you that I was unable to use them. This problem has been logged in our bug tracking system under ticket Id BARCODJAVA-33283. We will soon investigate the cause. Also, you will be notified once the fix for your problem is available for public use. Please accept our apologies for your inconvenience.