BarCodeGenerator in aspose.barcode.19.6.0


#1

After upgrading aspose.barcode from 19.5.0 to19.6.0 I’m getting an error using this code:

var generator = new BarCodeGenerator(EncodeTypes.QR, code) { AutoSizeMode = AutoSizeMode.Interpolation };

19.5 appears to have no comments or obsolete message.

Am I doing something wrong?

Thanks in advance.
Best regards Morten


#2

@mortenma,

Thanks for your query.

We have made some APIs changes in newer Aspose.BarCode 19.6. Please use Aspose.BarCode.Generation.BarcodeGenerator class instead. Also, see the documents with examples in the section:
https://docs.aspose.com/display/barcodenet/Generate+Barcodes

Hope, this helps a bit.