Read Barcodes from Word Documents

Contents
[ ]

Generate Barcode and Insert into Word Document

  1. First, use Aspose.BarCode for Java and generate a barcode image
  2. Save the generated image to file
  3. Use Aspose.Words for Java to create a Microsoft Word document and insert this barcode in that document

Extract Images from Word Document and Read Barcodes

Recognition:

  1. Extract images from the Microsoft Word document using Aspose.Words for Java.
  2. Pass the images to Aspose.BarCode for Java for recognition.

The following code sample is a complete Java program to generate and recognize barcodes from Microsoft Word documents.