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

Free Support Forum - aspose.com

QR Code Generation shows the code text value in QR Code image even in Licensed version

My company purchased Aspose .NET Total license and I am using v20.8.0.

below is the code I am using to generate the QR Code. But the output image displays the code text. It seems like the license may not be working.

private MemoryStream GenerateQrBarCode(string fieldValue)
using (var generator = new BarcodeGenerator(EncodeTypes.QR, fieldValue))
// Set ForceQR (default) for standard QR and Code text
generator.Parameters.Barcode.QR.QrEncodeMode = Aspose.BarCode.QREncodeMode.Auto;
generator.Parameters.Barcode.QR.QrEncodeType = Aspose.BarCode.QREncodeType.ForceQR;
generator.Parameters.Barcode.QR.QrErrorLevel = Aspose.BarCode.QRErrorLevel.LevelL;

            MemoryStream stream = new MemoryStream();
            generator.Save(stream, Aspose.BarCode.BarCodeImageFormat.Bmp);
            return stream;

We are analyzing this scenario and will share our feedback soon.

You can hide codetext with this code:

lBld.Parameters.Barcode.CodeTextParameters.Location = CodeLocation.None;

thank you so much!