How to read barcode from Word

Read barcode from Word C#

To read barcode from a Word document, Aspose.BarCode and Aspose.Words are used. Following simple steps tell how to do that:

  1. Extract image from Word document .
  2. Save the extracted image as a stream.
  3. Pass the image in the form of the stream to Aspose.BarCode for .NET.
  4. Read the barcode from the image.

Following code shows the above mentioned steps in details: