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

Free Support Forum - aspose.com

How to find the location of barcode in a pdf using aspose.barcode

Hi,

I need a requirement of finding the location of barcode in a pdf after extracting all barcodes from pdf using BarCodeReader.readBarCodes(). Can you please suggest how to do that ??

Thanks,
Manjula

@manjularani,

Aspose.BarCode for Java can only process barcode image files. To process PDF or find the location of specific (barcode) image or specific text in PDF file, you need to use Aspose.PDF API. Please post your queries in Aspose.PDF forum for assistance.

This depends how you extraction barcodes. If you render pdf page to image you can request barcode coordinate from BarcodeResult


But if you read barcode from extracted images from pdf, you have to request image coordinates from Aspose.PDF api, request barcode position on image and merge all of these coordinates.