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

Free Support Forum - aspose.com

Barcode is not generating in mail-merge


I have to generate a barcode based on mailmerge feild value.there is no option to do that,



Thanks for your query.

I think you may try to use Aspose.Words and Aspose.BarCode API to accomplish the task, see the document for your reference:
How to Generate a Custom BarCode Image for DISPLAYBARCODE Field

Thanks for a quick reply,

But i have already tried that solution and it didnt work.
Because interface method return type is different, generatebarcodeimage method return type is different and class method return type is image. Can u please try your own solution and fix it.


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output Word file that shows the undesired behavior.
  • Please attach the expected output Word file that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.