Hi
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;
}
}