Insert QR code to WORD document

Hi


We are testing new version of Words for .NET (15.1) and are experiencing unexpected behavior while trying to generate QR code and place it in document.

The following code works perfectly in WORD for .NET version 14.9.

Dim bcBuilder As New BarCodeBuilder()
bcBuilder.CodeText = ds2.Tables(0).Rows(0).Item(“QRKoda”).ToString
bcBuilder.CodeLocation = CodeLocation.None
bcBuilder.BackColor = Color.Transparent
bcBuilder.SymbologyType = Symbology.QR
builder.InsertImage(bcBuilder.BarCodeImage)

In Words for .NET (15.1) no QR Code is generated, instead only text is placed in word document.



Hi Erik,


Thanks for your inquiry. To ensure timely and accurate response, please create a standalone runnable console application (source code) that helps us reproduce your problem on our end and attach it here for testing. As soon as you get this simple application ready, we’ll start investigation into your issue and provide you more information. Also, please attach your input/output Word documents and QRcode image you’re getting this problem with here for testing. Thanks for your cooperation.

Best regards,

Hi


I’m attaching console app that reproduces this problem

We have investigated this issue further and we suspect its UpdateFields() method that is causing this problem.
Hi Erik,

Thanks for your inquiry. The issue does not occur when using Aspose.Words for .NET 15.2.0. Please upgrade to the latest version from the following link:
http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/default.aspx

I hope, this helps.

Best regards,

We have tested version 15.2. and its working as expected