We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose Barcode 4.4.0 BarCodeRegion.getPoints

You used to be able to get a java.util.Point[] now it returns a com.aspose.internal.g.H[] which has no documentation.


How do I find the points in a region now?

Hi,


Thank you for brining this to our knowledge.

I have experienced the same issue while accessing the Region Points, so I have logged an investigation in our tracking system under ticket id BARCODJAVA-33119. We will soon sort this out and will keep you posted with updates on this.

We are sorry for your inconvenience.

Hi,


We have fixed the problem logged under Ticket Id BARCODJAVA-33119. Please find the attachment for the updated Jars of Aspose.BarCode for Java v4.4.0. We will also include this fix in next major release of Aspose.BarCode for Java.

Please note that the BarCodeRegion.getPoints() method returns an array of type java.awt.Point. Below is source code for your kind reference,

Java

BarCodeReader reader = new BarCodeReader(“barcodes.bmp”, BarCodeReadType.getAllSupportedTypes());
while(reader.read())
{
BarCodeRegion region = reader.getRegion();
Point[] point = region.getPoints();
for(int i=0; i< point.length;i++)
{
System.out.println(point[i].toString());
System.out.println("----------------------");
}
}

The issues you have found earlier (filed as BARCODJAVA-33119) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.